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

Computer literacy course assignmentpaperfor the final paper

Computer Literacy course ASSIGNMENT Paper For the Final Paper, you will select one topic from the list below. You will want to choose a topic that is important or interesting to you. Instructions for completing the Final ...

Consider a database system that includes an atomic

Consider a database system that includes an atomic increment operation, in addition to the read and write operations. Let V be the value of data item X. The operation increment(X) by C sets the value of X to V + C in an ...

Writenbspa 1050- to 1400-word paper in which you do the

Write  a 1,050- to 1,400-word paper in which you do the following:  Describe the project procurement planning process. Identify the most valuable output of the plan procurement process and explain why you believe it is m ...

Please helpinstructionsprovide a java code to create and

Please Help. Instructions: Provide a Java code to create and initialize an array of integers (Java primitive int), floats or any other Java primitive type of your choice. You pick the array name and length. Demonstrate h ...

Scenariolethal-interjection is an entertainment

Scenario: Lethal-Interjection is an entertainment organisation that is well known locally for organising events such as music concerts, fashion shows etc. For the first time, in all their events, they have decided to aut ...

Problem 1 consider the payoff matrix shown at right suppose

Problem 1. Consider the payoff matrix shown at right. Suppose agent 1 must move first, and agent 2 can see B agent 1's move before agent 2 chooses a move. Draw the game tree, find all pure-strategy Nash equilibria, C and ...

Complete the thinking outside the box assignment number 1

Complete the thinking outside the box assignment number 1 on page 58 of your textbook by researching data communication conversion technologies on the internet. Write at least a two page paper in current APA format that ...

Assume that the view ridge gallery will allow a row to be

Assume that the View Ridge Gallery will allow a row to be deleted from WORK if the work has never been sold. Explain, in general terms, how to use a trigger to accomplish such a deletion.

1 how much must be saved at the end of each year for the

1. How much must be saved at the end of each year for the next 10 years in order to accumulate $50000, if you can earn 9% annually? Assume you contribute the same amount to your savings every year. 2. What APR is being e ...

Compute the fair value of a chooser option which expires

Compute the fair value of a chooser option which expires after n=10 periods. At expiration the owner of the chooser gets to choose (at no cost) a European call option or a European put option. The call and put each have ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate