Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question 1: Write a program that gives the following table. Use single cout statement and setw().

            1990              123

            1991             2345

            1992            34567

            1993           123456

Question 2: Write a program that reads the radius of circle and shows its area and diameter.

Question 3: Write a program that reads the height and length of rectangle and show the area and perimeter of the rectangle.

Question 4: Write a code that takes two integers and arithmetic operator from user and apply all given arithmetic operators on given numbers.

Question 5: Write a program that takes one side of square then evaluate and show the area of square.

Question 6: Write a program that reads the temperature from user in Celsius scale and display in Fahrenheit and Kelvin scale.

Question 7: Write a program that takes weight in kilograms and show in grams and milligrams.

Question 8: Write a program reads number from user and show either it is multiple of 2 or 5 or 7 or not multiple of any given category.

Question 9: Write a program that takes two time from user in hr:min:seconds format and show the difference between given two times.

Question 10: Prepare a program that takes two dates from user in dd/mm/yy and prints difference between given two dates.

Question 11: Write a program that takes 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
Question 12: Write a c program that takes marks of subject from user. Given marks must be greater than 0 and less than 100. Your program have to perform grading on given marks (A, B, C, D, F). You are free to decide grading criteria.

Question 13: Write a c program that takes four numbers from user and gives smallest and largest amongst them.

Question 14: Write 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 chooses any other than listed make price 0.

Question 15: A certain grade of steel is graded according to the subsequent condition:

-  Hardness must be greater than 50.

-  Carbon contents must be less than 0.7.

-  Tensile strength must be greater than 5600

The grades are as follows:

-  Grade is 10 if all the three conditions are met.

-  Grade is 9 if conditions 1 and 2 are met.

-  Grade is 8 if conditions 2 and 3 are met.

-  Grade is 7 if conditions 1 and 3 are met.

-  Grade is 6 if only one condition is met.

-  Grade is 5 if none of the conditions are met.

Write a program which will need user to give values of hardness, carbon content and tensile strength of the steel under consideration.

Find and output the grade of the steel.

Computer Engineering, Engineering

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

Have any Question?


Related Questions in Computer Engineering

Can someone design a small program for me in java that do

Can someone design a small program for me in Java that do the following: Implement at least four classes (showing inheritance) with suitable constructors and methods to set/retrieve values of from the properties. Try to ...

Question recall that many programming languages use short

Question : Recall that many programming languages use short circuit evaluation when determining the result of a complex boolean expression involving add/or operations. What are the benefit of using short circuit evaluati ...

Why is formative evaluation importantprovide at least three

Why is formative evaluation important? Provide at least three reasons for using it. What is the difference between formative and summative evaluation? Provide any two types formative evaluation and two types of summative ...

Question this assignment consists of two 2 sections a

Question: This assignment consists of two (2) sections: a project introduction and a project plan. You must submit both sections as separate files for the completion of this assignment. Label each file name according to ...

Question lessons learned from the mirai botnet attack of

Question: Lessons learned from the Mirai Botnet attack of 2016 • Research the history of the attack and those responsible. • What did this exploit? • Why was it so much more effective than previous BotNet designs? • What ...

When using todays digital cameras file sizes are often

When using today's digital cameras file sizes are often saved in a format that is well over 1 Megabyte. This may be great for high definition photo reproductions but is a disaster for uploading to the web. Images on your ...

Customers for a restaurant arrive at an average rate of 36

Customers for a restaurant arrive at an average rate of 36 customers per hour during lunchtime. a. Write the Poisson probability distribution function with the specific parameters for this problem. b. Rewrite the probabi ...

A small sports club keeps information about its members and

A small sports club keeps information about its members and the fees they pay. The secretary wants to be able to record when members pay and print a report similar to that in the figure below. last name - first_narne - p ...

Why regulated industries should be required to follow

Why regulated industries should be required to follow security standards. Provide 2 examples of industries that would fall under this category.

A compute the sumnbsps1nbsp 1 2 3 nbsp nbsp 9999 the sum

(a) Compute the sum S1 = 1 + 2 + 3 + . . . + 9999 (the sum of all integers from 1 to 9999). Do not use a program. (b) Compute the sum S2 = 1+3+5+...+9999 (the sum of all odd integers from 1 to 9999). Do not use a program ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As