Professional Documents
Culture Documents
Distance Calc
Distance Calc
#declare variables
distance = 0.0
speed = 0.0
time = 0.0
counter = 1.0
#obtain data
speed = int(input('What is the speed of the vehicle in mph? '))
time = int(input('How many hours has it traveled? ' ))