Question Description
Toll Fee Programming
1. Create a Java class, TollFee1.java, for a toll plaza. The program should prompt the user for the following inputs.
- Cashiers First Name (String)
- Cashiers Last Name (String)
- Type of Vehicle (int)The program will then display an output including the following information.
- Toll Fee
- Name of Cashier
The fees of each type of vehicle are as followed:
Vehicle Type |
Fee ($) |
2 Axels |
3.00 |
3 or More Axels |
4.00 |
Motorcycle |
1.00 |
Please checkout the PDF