[SOLVED] A small local village has recently changed how they calculate the cost of speeding tickets. They are

$25

File Name: A_small_local_village_has_recently_changed_how_they_calculate_the_cost_of_speeding_tickets._They_are.zip
File Size: 942 KB

5/5 - (1 vote)

A small local village has recently changed how they calculate the cost of speeding tickets. They are
asking for your help to create a program that will calculate the cost of tickets. Theyve highlighted
the relevant ordinances for you.

Driving under the posted limit:

The fine for driving more than 12mph under the posted speed limit is $150.
Driving underbut within 12mph ofthe posted speed limit is permitted.

Driving over the posted limit:

Driving above the posted speed limit at 125mph or greater results in a $2000 ticket.
The cost of a ticket for driving above the posted speed limit (but under 125mph) is

calculated as follows:

Each of the first 20 mph over the limit costs $45.
Each additional mph over the limit costs $100.

1. UNDERSTANDING THE PROBLEM

2. DESIGNING THE PROGRAM

3. WRITING THE PROGRAM

4. LOOKING BACK

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] A small local village has recently changed how they calculate the cost of speeding tickets. They are
$25