Question: Hi I need help to write a Java program to help calculate and notify traffic violaters Of the fines shown in attached file . non-moving

Hi I need help to write a Java program to help calculate and notify traffic violaters

Of the fines shown in attached file .

non-moving violation

no drivers license $25.00

expired tag $20.00

no registration $20.00

No Insurance $10.00

Moving Violation

speeding violation or speeding in construction zone miles over the speed limit

1-5 MPH Warning

6-9 MPH $130.00

10-14 MPH $205.00

15-19 MPH $405.00

20-29 MPH $455.00

30 MPH or over $605 and court

Speeding in school zone or speeding with a toll facility

1-5 MPH $155

6-9 MPH $255.00

10-14MPH $305

15-19 MPH $405

20-29 MPH $455

open notice may comprise of any of the follwong:

one or more of non moving violations alone, a combination of non moving violations, and on kind of moving violation, speeding in a construction zone, but not both.

write a class call TrafficViolations that's determines types of violations

write a test class called TestTrafficViolations that's implements the class TrafficViolations

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 Mathematics Questions!