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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started