Description:
Programming can be used to assist users in completing complex
calculations very quickly. As seen in class practices, we were able
to calculate the area of geometric shapes, figure out the amount of
calories in cookies, and even calculate a restaurant bill.
For this assignment, you will take input from the user to provide
interactive messages and to solve the following word problem:
Engineers often need to convert between different types of units to
perform calculations that follow standard formulas. One conversion
that is very common involves converting distances. List the steps,
by writing pseudocode, that explains how you would ask the user to
provide the distance in miles and would display: 1) The distance in
kilometers, 2) the distance in feet, 3) the distance in
yards.
Example:
The program asks the user to provide their name and displays a
greeting message that explains its purpose. The program requests
the distance in miles. The user provides the number 158 for miles.
The program calculates and displays the results of: 1) 254.28
kilometers, 2) 834240 feet, 3) 278080 yards
Your Task:
For now, we are not going to do any programming! It is important
that you understand that you should plan your code. Planning your
code saves you time on the long run and allows you to use the
solution in any programming language.
For this part of your project, you must write pseudocode explaining
the steps that you will take to create the program described
above.
i have explained, how to write program with pseudo codes provided.
Thnx, pls upvote if you found the answer helpful.
Get Answers For Free
Most questions answered within 1 hours.