0

What is the solution

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.

27th Sep 2022, 1:41 PM
Cath 🌺
Cath 🌺 - avatar
6 Answers
+ 4
speed = distance / time that means time = distance / speed Apply the formula and then output the result in hours. (edited) Per Bratthammar I typed too fast and mixed it all up. πŸ€¦β€β™€οΈ Thanks for correction! 😊
27th Sep 2022, 1:50 PM
Lisa
Lisa - avatar
+ 4
HI, [user id=9509148]Lisa[/user] ! It can be a bit confusing: time/distance gives pace. Distance/time (km/h) gives speed πŸ™‚. If the pace in life is too high, it’s easy to mix up… πŸ€“
27th Sep 2022, 2:30 PM
Per Bratthammar
Per Bratthammar - avatar
+ 4
Hi! where did you have difficulty writing this program?
27th Sep 2022, 3:47 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Well I did first 550x10 then added 550 from there so about 13 hrs
28th Sep 2022, 12:34 PM
Kalista Rae Smalls
+ 1
d=7425/550 Print('total flight time in hours =',d)
29th Sep 2022, 8:48 AM
HARIPRASATH
HARIPRASATH - avatar
0
Solution is print(7425/550)
29th Sep 2022, 5:08 AM
Preeti Oderiya
Preeti Oderiya - avatar