Question: ITP 100 Software Design Instruction: Use switch and case structure. Make a table 1. Design a program that prompts the user to enter vehicle type:
ITP 100 Software Design
Instruction: Use switch and case structure. Make a table
1. Design a program that prompts the user to enter vehicle type: 1 for passenger car and the tool charge is 0.50 cents, 2 for bus and the tool charge is 1.50 cents , 3 for truck and the tool charge is 2.00, 4 for motorcycle and the tool charge is 0.75. Program should print the type of vehicle and the toll charge.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
