Pseudocode is correctly structured | 10 |
Loop operates as specified | 10 |
Correct inputs and outputs are used | 10 |
Distance calculation is performed correctly | 10 |
Total | 40 pts |
To design a program's logic involving a loop
For this lab you will need to design the logic for a program using a pseudocode that will be able to convert a number of miles to inches.
The user should be able to enter a number of miles, as many times as they would like, one value for miles at a time, and the program should convert each value to inches until the user indicates that they no longer want to enter new values. The converted number of inches should be displayed as output to the user in a friendly format.
When the user has indicated that they no longer want to enter values for miles the program should display "Thank You" and then end.