If we assume there will be no accidents or delays, the distance a car can
travel on the interstate is calculated by the following formula:
distance = speed x time
Using Microsoft Word, or a text editor write the pseudo-code that would
accomplish the following:
1. Define all necessary variables and constants
2. Ask for the input of the speed of the vehicle
3. Calculate and display on separate lines the distance traveled in 6, 10
and 15 hours(hint: hours are good candidates for constants)
4. Sample output is shown below:
Pseudo-code Lab
Distance Traveled
Use your name as part of the file name you submit: i.e.
susanSmith_pseudoCode01.txt OR JNorth_pseudoCode01.docx
Points will be deducted for incorrect file name.
To submit your assignment:
The distance traveled in 5 hours at 55 mph is 275 miles
click on lab header "Pseudo-code assignment"
.
. scroll down, find and click on "add attachment"
.
. click on the next "add attachment"
. select the "upload" option from the drop-down
locate your file in the pop-up window, click on the file name to highlight
the it
click the "open" button (lower right corner)
click the "update" button

Respuesta :

Otras preguntas