+1-415-315-9853

info@mywordsolution.com

## Engineering

 Civil Engineering Chemical Engineering Electrical & Electronics Mechanical Engineering Computer Engineering Engineering Mathematics MATLAB Other Engineering Digital Electronics Biochemical & Biotechnology

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

### Construct a 3-bit counter using three d flip-flops and a

Construct a 3-bit counter using three D flip-flops and a selection of gates. The inputs should consist of a signal that resets the counter to 0, called reset, and a signal to increment the counter, called inc. The output ...

### Algorithim tasksthis assignment involves creating an

Algorithim / Tasks This assignment involves creating an algorithm. An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem. We will see in future weeks how the detailed steps of this type ...

### For this assignment you are a project manager your

For this assignment, you are a project manager. Your management has asked you to plan a project to develop an online shopping application to run on the newest model of the Blackberry smartphone. You know Blackberry has h ...

### 1 what is a hash function and what can it be used for2 why

1. What is a hash function, and what can it be used for? 2. Why is it important to exchange keys out of band in symmetric encryption? 3. What is the fundamental difference between symmetric and asymmetric encryption?

### Background informationfor this assignment you need to write

Background information For this assignment you need to write a console application in the Java programming language which implements a simulation for a movie borrowing and return system for the video store MovieMaster. T ...

### Stakeholders include everyone who are actively involved in

Stakeholders include everyone who are actively involved in the project or whose interests may be affected as a result of the project execution or completion. Why should they be involved in the creation of lessons learned ...

### Implement a queue as a linked linear list such that it only

Implement a queue as a linked linear list such that it only occupies an amount of space proportional to the current queue size

### For this assignment you will be creating a package delivery

For this assignment, you will be creating a package delivery system. You need to think in terms of objects. The first object is the delivery truck that can store 50 liters of petrol. The cost per liter of petrol is 2.73\$ ...

### Assignment preparationfor this assignment review the

Assignment Preparation For this assignment, review the organization and the industry before applying the strategic models below to Ford Motor Company. You will need at least five current, scholarly or professional resour ...

### Extend the postfix calculator adt as followsa to perform

Extend the Postfix Calculator ADT as follows: (a) To perform several unary operations commonly found on scientific calculators: absolute value, square root, sine, cosine, and tangent. The operations should be specified t ...

• 13,132 Experts

## 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.

### WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

### 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