Computer Science, asked by monica1209, 5 hours ago

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.
give the python program for the above question​

Answers

Answered by shilpa85475
4

when one is  flying from LA to Sydney, covering a distance of 7425 miles, the plane flies at an average of 550, the standard formula to calculate speed is Speed= Distance/ Time, hence we can determine the time from the same.

Time= Distance/Speed.

Now lets take the distance as 7425 and average speed of 550 miles

Explanation:

print(7425/550)

def abc():

flighttime=7425/550

return flightime

print(flighttime())

we can also take the distance and speed of the flight in different variables;

int speed, int distance;

flightime=distance/ speed

print('time of the flight'+flightime)

Answered by yildiznajma
0

Answer:

print(7425/550)

Explanation:

Similar questions
Math, 5 hours ago