Question
Design and apply a Java program, use switch statement that find a traffic violation number and output traffic violation title and price based on following table-
Number Title Price
1 Not stopping at (STOP) signs SR 100
2 Usage of improper light SR 100
3 Sudden start-up (heeling) SR 200
4 Violating speed limit SR 100
5 Leaving the car unattended on public streets SR 100
6 Destroying the Denver boot SR 1500 else undefined