please help me | Sololearn: Learn to code for FREE!

0

please help me

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.

8/8/2022 9:56:57 AM

Tawanda Kujinga

2 Answers

New Answer

0

Just divide 550 into 7425 and because you used a division it results as a float type.

+3

In physics we use the following law: d = vt Where d is the distance, v the velocity and t the time needed to covert the distance. You can isolate t: t = d/v. That will be the time needed.