- 2

Who can help me solve the question below . I'm totally new for a code .

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.

15th Jun 2021, 11:51 PM
Terminator 2.0
Terminator 2.0 - avatar
4 Respuestas
+ 2
Hi! let's use the analogy method if you have a hard time figuring out an airplane. imagine that you are driving a car at a constant speed of 70 km/h from one city to another. you need to drive a distance of 210 kilometers. how long will it take you to do this?
16th Jun 2021, 12:43 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
you just need to use your bright new knowledge (from the lesson you learnt just before) to output to screen the flight time to cover a distance of 7425 miles at speed of 550 miles per hour: how many times 550 in 7425 (simple division)
16th Jun 2021, 12:08 AM
visph
visph - avatar
0
Tq
16th Jun 2021, 12:18 AM
Terminator 2.0
Terminator 2.0 - avatar
0
Ok
16th Jun 2021, 12:43 AM
Terminator 2.0
Terminator 2.0 - avatar