Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

Programming Fundamentals

Assignment1

Note: You have to prepare down pseudo code, program and draw flow chart for each of the subsequent problems

Q1: prepare a program which creates the following table. Use single cout statement and setw().

1990        123
1991       2345
1992      34567
1993     123456

Q2: prepare a program which reads the radius of circle and display its region and diameter.

Q3: prepare a program which reads the length and height of rectangle and show area and perimeter of the rectangle.

Q4: prepare a program that takes two integers and arithmetic operator from user and apply all given arithmetic operators on given numbers.

Q5: prepare a program which takes one side of square then compute and show the area of square.

Q6: prepare a program which reads the temperature from user in Celsius scale and show in Fahrenheit and Kelvin scale.

Q7: prepare a program which takes weight in kilograms and show in milligrams and grams.

Q8: prepare down a program reads number from user and display either it is multiple of 2 or 5 or 7 or not multiple of any given category.

Q9: prepare a program which takes two time from user in hr:min:seconds format and display the differentiation between given two times.

Q10: prepare a program which takes two dates from user in dd/mm/yy and prints differentiation between given two dates.

Q11: prepare a program which acquires three fractions a/b, e/f and c/d from user. Perform addition of given fractions as follow:

   a    c        e        ans
  ---- + -----  + -----      =    --------
   b        d         f        ans

Q12: prepare a program which acquires marks of subject from user. Given marks should be greater than 0 and less than 100. Your program has to perform grading on given marks (A, B, C, D, F). You are free to decide marking criteria.

Q13: prepare a program which takes four numbers from user and display smallest and largest amongst them.

Q14: prepare a program asking user to select p for pine, o for oak, or M for mahogany. Show the price of the table pine - 100, oak- 225 and mahogany- 310 if user selects any other than listed make price 0.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91549

Have any Question? 


Related Questions in Computer Engineering

1 although there has been tremendous growth in the

1. Although there has been tremendous growth in the virtualization of computing resources, there are still many skeptics of the technology. List their concerns. Suggest ways to overcome those concerns. 2. Discuss the dif ...

1 extend the example of deriving required logging

1: Extend the example of deriving required logging information to the full Bell-LaPadula Model with both security levels and compartments. 2: In the example of deriving required logging information for the Chinese Wall m ...

Design an algorithm that accepts as input a decimal number

Design an algorithm that accepts as input a decimal number and converts it to the binary-coded decimal (bcd) representation. In the bcd scheme each digit is represented by a 4-bit binary code.

1 design and implement a function that evaluates a prefix

1. Design and implement a function that evaluates a prefix expression stored as a text string. 2. Implement the findPath(), reset(), and draw() methods for the Maze class. 3. Implement a complete maze solving application ...

1 assume that you have 1 ss cpu how many cycles will it

1. Assume that you have 1 SS CPU. How many cycles will it take to execute these two threads? How many issue slots are wasted due to hazards? 2. Now assume you have 2 SS CPUs. How many cycles will it take to execute these ...

Using notepad write a program using pseudocode to solve

Using Notepad++ , write a program using Pseudocode to solve the following problem. Use the modular approach to solving the problem. Determine the median selling price of all homes in a subdivision named Botany Bay sold d ...

Assignment objective to develop a simple but attractive

Assignment OBJECTIVE: To develop a simple but attractive webpage using CSS and following HCI criteria. CASE STUDY - A new profile website for academics at the School of Computer Science and Electronic Engineering, Univer ...

1 why is it a good practice to delay naming specific

1. Why is it a good practice to delay naming specific individuals as resources early in the planning process? 2. What is a milestone, and why is it significant to project planning?

Describe an example system that uses des but is insecure

Describe an example system that uses DES but is insecure because of the DES complementation property. Specifically, describe the system, and then present an attack against that system; the attack should utilize the DES c ...

Design and implement a merging algorithm that uses only two

Design and implement a merging algorithm that uses only two arrays. It can be assumed that the sizes of the two data sets are known in advance. An interesting way to do this is to place the array with the biggest element ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen