Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a program that shows the George Washington Bridge\'stolls. there are 3typ

ID: 3614974 • Letter: C

Question

Create a program that shows the George Washington Bridge'stolls. there are 3types of tolls: Cars, Motorcycles, andTrucks.
the rate for cars is $0.35, and um let's make that of motorcycles$0.10 and that of trucks $0.60 include the Car Pool rate (?what is this?). problem itself:  The program has to determine whatthe rate is ((after an input of the vehicle type) and ifthe car pool..rate -applies. Create a program that shows the George Washington Bridge'stolls. there are 3types of tolls: Cars, Motorcycles, andTrucks.
the rate for cars is $0.35, and um let's make that of motorcycles$0.10 and that of trucks $0.60 include the Car Pool rate (?what is this?). problem itself:  The program has to determine whatthe rate is ((after an input of the vehicle type) and ifthe car pool..rate -applies.

Explanation / Answer

you did not specify the language. so here is java code

public class toll{

private static double cRate = 0.30;

private static double tRate = 0.60;

private static double bRate = 0.10;

public static void main(String[] a){

System.out.println("Enter 1 for car " + 'Enter 2 for truck " +"Enter 3 for bike ");

System.out.println("Are car pool? " + "Enter 1 for Yes, 2 forNo ");

int cp = s.nextInt();

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote