I'm trying to figure it out but I'm not sure where the mistake is.
Type: Posts; User: cheshire
I'm trying to figure it out but I'm not sure where the mistake is.
this is the output if that's what you mean.
Enter Hours Traveled
5
Enter MPH
40
Hours Distance
1
2
3
I am trying to write a loop that calculates the distance traveled (distance = speed * time). It should use the loop to calc how far the vehicle traveled for each hour of time. My program asks for...