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.:- M9717436

Have any Question?


Related Questions in Computer Engineering

Question the chief technology officer cto has indicated

Question: The Chief Technology Officer (CTO) has indicated that your organization has been requested by the National Security Council (NSC) to comment on the upcoming National Cybersecurity Strategy. The NSC has asked fo ...

Consider the following half-reactionsoxidation

Consider the following half-reactions: Oxidation: 2I - (aq)  --> I 2(aq)  +2e - Reduction: MnO 4 - (aq)  +8H + (aq)  + 5e -  -->Mn 2+ (aq)  + 4H 2 O (l) a) Write the overall reaction. b) A galvanic cell based on this rea ...

Question suppose you are given two sets of 100 points that

Question : Suppose you are given two sets of 100 points that fall within the unit square. One set of points (a) is arranged so that the points are uniformly spaced. The other set of points (b) is randomly generated from ...

A simple medium access control protocol would be to use a

A simple medium access control protocol would be to use a fixed assignment time division multiplexing (TDM) scheme. Each station is assigned one time slot per cycle for transmission. For the bus, the length of each slot ...

Suppose a program has a button with the caption quit

Suppose a program has a button with the caption "Quit" Suppose also that Name property of this button is btnQuit. Write a btnQuit_Click event precede that gives the user a second chance before ending the program. The prt ...

Aaninformationretrievalsystemhasacertainpairofaverageprecisi

(a) An information retrieval system has a certain pair of average precision and recall values when the system returns 10 documents in response queries. Would the precision and recall rate remain unchanged if the system w ...

Not many applications use this type of direct connection ex

Not many applications use this type of direct connection (ex: ftp, ssh, tenet, smtp, httpd, pop) anymore unless it is within the corporate firewall. Why do you think this is? Pick 1 or 2 as example.

Explain why some organizations may not place enough

Explain why some organizations may not place enough importance on disaster recovery. What might happen to these organizations in the event of an actual disaster?

Submit an annotated bibliography that includes the

Submit an annotated bibliography that includes the following: At least one resource from each of the following categories: Culture-specific information about your own culture Articles about a tradition, value, or belief ...

What is a good analogy of subnetting whats a break down of

What is a good analogy of Subnetting? What's a break down of how it is used within a company?

  • 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