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 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!