Write a program that asks the user to input the number of


Engineering programming

I need this now please accurate answers and must be high rated

Problem #1

Write a program that asks the user to input the number of miles and convert the miles to kilometers, and then print the output to the screen. (Recall that 1 mi = 1.6093440 km.)
Follow the Engineering problem solving methodology.

- Problem Statement
- Input/Output
- Solve by hand
- Create pseudo-code Algorithm and C++ code in Visual Studio
- Test Code with some data and verify

Problem #2

Create a flow-chart of the Algorithm in the previous problem

Problem #3

Find the Value of h in each of the following problems (Show work when necessary):

Given a = 3.5 b=1.5 c=9 d=6

a) h = d < c
b) h = a >b// b >c
c) h = d - a > b && a * b < d

Problem #4

Draw a flowchart for the following statements:

a) if (b <= 4)

y = 2;

else

{

y = 4 + x;

x++;

}

b) if (y < 5)

z = 0;
else if (y < 10)
z = 1;
else
z = 2;

Solution Preview :

Prepared by a verified Expert
Programming Languages: Write a program that asks the user to input the number of
Reference No:- TGS01608981

Now Priced at $50 (50% Discount)

Recommended (99%)

Rated (4.3/5)