- 4
Help my learning
You need to calculate the flight time of an upcoming trip. You are flying from LA to Sydney, covering a distance of 7425 miles, the plane flies at an average speed of 550 miles an hour. Calculate and output the total flight time in hours. Hint The result should be a float.
4 Answers
+ 7
Mohammad Saiful Rohman
First try yourself.
You have speed
You have distance
Now calculate time.
Formula for speed:
speed = distance / time
+ 1
You can do it Mohammad Saiful Rohman just focuse the given.
It says, the distance and it is 7425 and the average speed is 550 miles per hour. The equation of speed, time and distance is,
distance = speed * time
or,
time = distance / speed
I hope it's more clear now. Happy coding!
0
Cannot