Question: Q3. (10 pts) Write a Java program to compute the fine you would have to pay if you go over speed limits inside the university
Q3. (10 pts) Write a Java program to compute the fine you would have to pay if you go over speed limits inside the university campus. * If your speed is 45 km/h or less, there is no fine. * If your speed is between 46 and 60 km/h inclusive, the fine is 20 KD. * If your speed is between 61 and 80 km/h inclusive, the fine is 40 KD. * If your speed is 81 km/h or above, the fine is 100KD
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
