Question: I need help writing this code in the language Ruby Problem #4 The City of Jerkwater has a policy for drivers cited for speeding within
I need help writing this code in the language Ruby
Problem #4 The City of Jerkwater has a policy for drivers cited for speeding within city limits. Violators are charged $50 plus $5 additional for every mile over the speed limit. If a violator exceeds 90 mph, an additional $200 is imposed upon the violator. Write a program that asks for the violator's speed and the speed limit. The program should then display whether a speeding ticket should be issued and, if so, the amount of money the violator must pay the city
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
