Flowchart (from approved algorithm in DRAW.IO), Approved Algorithm, Source Code File, Test Case, Python Program
Danny Soto
Convert kilometers per hour to meters per second
Pseudocode:
1. Start the program
2. Prompt the user to enter kilometers
3. Prompt the user to use 1 km = 1000 m/1 km
4. Prompt the user 1 hr = 1 hr/3600 s
5. Use km as the given km that you wish to convert.
6. Use the formula to convert kilometers per hour to meters per second: (Km/hr) x (1000 m/1 km)
7. Display the output
Variable assignments: kilometers, 1000 m = 1 meter, 1 hr = 3600 s
Variables: kilometers, meters, hour, seconds