Write a python program to calculate the speed of any car and display time, distant and speed. If the speed is less than or equal to 60, display “slow driving” If the speed is between 70 and 120,...


Write a python program to calculate the speed of any car and display time, distant and speed.




  • If the speed is less than or equal to 60, display “slow driving”

  • If the speed is between 70 and 120, display “normal speed”

  • If the speed is between 130 and 160, calculate the total fine using the following equation, total fine = number of exceeding allowing limit * price of the fine

  • If the speed is more than or equal to 180, display “Go to jail and pay additional fine”



Otherwise display “normal driving speed”



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here