java programing

1 COP2250 Assignment 5 Purpose of exercise: To accept and apparatus the alternative constructs: (a) The if/else construct, (b) The switch, As they affect to the Java programming language. Assignment: Write a Java affairs that can be acclimated to account and acquaint violators of the fines and/consequences for alley cartage breaches as apparent in the agenda below. The abuse apprehension may comprise of any of the following: • One or added of non-moving violations alone. • Combination of non-moving violations, and one affectionate of affective abuse for balance speeding, or dispatch in architecture zone, but not both. • Combination of non-moving violations, and one affectionate of affective abuse for dispatch in academy zone, or dispatch in assessment facility, but not both. Non-Moving Abuse • No driver’s authorization $25.00 • Expired tag $20.00 • No allotment $20.00 • No allowance $10.00 Affective Abuse • Dispatch abuse or dispatch in architecture area Afar over the Speed Limit o 1 – 5 MPH Warning o 6 – 9 MPH $130.00 o 10 – 14 MPH $205.00 o 15 – 19 MPH $405.00 o 20 – 29 MPH $455.00 o 30 MPH or over $605.00 and cloister actualization • Dispatch in academy area or dispatch aural a assessment ability o 1 – 5 MPH $155.00 o 6 – 9 MPH $255.00 o 10 – 14 MPH $305.00 o 15 – 19 MPH $405.00 o 20 – 29 MPH $455.00 2 • One affectionate of affective abuse only, for balance speeding, or dispatch in architecture zone, but not both. • One affectionate of affective abuse for dispatch in academy zone, or dispatch in assessment facility, but not both. In formulating your solution: (a) Write a chic alleged TrafficViolations that determines types of cartage violations. (b) Write a analysis chic alleged TestTrafficViolations that accouterments the chic TrafficViolations (c) Demonstrate ability of the if account and the about-face account by application the if/else account to actuate the miles, and the about-face account for the alternative criteria. (d) You actuate a acceptable architecture for the output

Order a unique copy of this paper

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
Top Academic Writers Ready to Help
with Your Research Proposal
Live Chat+1(978) 822-0999EmailWhatsApp

Order your essay today and save 20% with the discount code COURSEGUY