Design a program which computes and outputs on the screen the time required to travel 8000miles at a speed of 300mph.?

#respect haha

3 Answers

  • 2 months ago

    The time required to travel 8000 miles at a speed of 300 mph:

    26 Hours 40 minutes

  • 2 months ago

    Hi, Wesley.

    What programming language are you learning? Here's a solution written in Python:

    #speed = distance / time => time = distance / speed

    print ("Time required = %.2f hours" % (8000 / 300.0))

  • 2 months ago

    You can do that with pencil and paper or a simple calculator.

Still have questions? Get answers by asking now.