Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

import java.util.

*;

class SNP_Vehicle_Dealership

public static void main(String args[])

Scanner in = new Scanner(System.in);

int x,n;

String name,number,email;

System.out.println("Enter your name");

name=in.nextLine();

System.out.println("Enter your Phon No.");

number=in.nextLine();

System.out.println("Enter your Email");

email=in.nextLine();

System.out.println("1.Cars ");

System.out.println("2.Bikes ");

System.out.println("3.Buses ");

System.out.println("Enter your choice");

x=in.nextInt();

switch(x)

case 1:

System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<Welcome to SNP Luxurious


Vehicles!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");

System.out.println(" <<<<<<<<<<<<<<<<<<Please select a car to


purchase:>>>>>>>>>>>>>>>>>>");

System.out.println(".");

System.out.println(" < SUPER__CARS >");


System.out.println(".");

System.out.println("1. Lamborghini Aventador SVJ -> RS. 6.25 Crore");

System.out.println("2. Mercedes Benz S-class -> Rs. 1.80 Crore");

System.out.println("3. Rolls-Royce Phantom -> Rs. 10.37 Crore");

System.out.println(".");

System.out.println(" < LUXURIOUS__CARS >");

System.out.println(".");

System.out.println("4. Lamborghini Urus S -> Rs. 4.18 Crore");

System.out.println("5. Mercedes Benz AMG -> Rs. 3.30 Crore");

System.out.println("6. Audi Q3 -> Rs. 73 Lakhs");

System.out.println(".");

System.out.println(" < DAILY_USAGE_CARS >");

System.out.println(".");

System.out.println("7. Honda -> Rs. 1.2 Crore");

System.out.println("8. KIA saltos -> Rs. 10.72 Lakhs");

System.out.println("9. Wagon R -> Rs. 63.7 Lakhs");

System.out.println("10. Range Rover -> Rs. 92.8 Lakhs");

System.out.println("Enter your choice from above (1-10) ");

n=in.nextInt();

switch(n)

case 1:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Lamborghini Aventador SVJ -> RS. 6.25 Crore ");
break;

case 2:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Mercedes Benz S-class -> Rs. 1.80 Crore");

break;

case 3:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Rolls-Royce Phantom -> Rs. 10.37 Crore");

break;

case 4:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Lamborghini Urus S -> Rs. 4.18 Crore");

break;

case 5:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);


System.out.println("Car chosen and price : Mercedes Benz AMG -> Rs. 3.30 Crore");

break;

case 6:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Audi Q3 -> Rs. 73 Lakhs");

break;

case 7:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Honda -> Rs. 1.2 Crore");

break;

case 8:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : KIA saltos -> Rs. 10.72 Lakhs");

break;

case 9:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);


System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Wagon R -> Rs. 63.7 Lakhs");

break;

case 10:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Car chosen and price : Range Rover -> Rs. 92.8 Lakhs");

break;

default:

System.out.println("Wrong choice");

break;

break;

case 2:

System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<Welcome to SNP Luxurious


Vihicles!!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");

System.out.println(" <<<<<<<<<<<<<<<<<<Please select a Bike to


purchase:>>>>>>>>>>>>>>>>>>");

System.out.println(".");

System.out.println(" < SUPER__BIKES >");

System.out.println(".");

System.out.println("1. Kawasaki Ninja ZX-10R -> Rs. 18.21 Lakhs");

System.out.println("2. Suzuki Hayabusa -> Rs. 17.86 Lakhs");

System.out.println("3. BMW S 1000 RR -> Rs. 25.57 Lakhs");

System.out.println(".");

System.out.println(" < LUXURIOUS__BIKES >");


System.out.println(".");

System.out.println("4. Keeway V302C -> Rs. 4.9 Lakhs");

System.out.println("5. Harley-Davidson -> Rs. 29.99 Lakhs");

System.out.println("6. Kawasaki Ninja H2R -> Rs. 73 Lakhs");

System.out.println(".");

System.out.println(" < DAILY_USAGE_BIKES >");

System.out.println(".");

System.out.println("7. Bajaj pulsar -> Rs. 1.18 lakhs");

System.out.println("8. Honda SP -> Rs. 1.4 Lakhs");

System.out.println("9. Heero Splendor -> Rs. 77.3 Thousand");

System.out.println("10. Bajaj Pulsar -> Rs. 1.2 Lakhs");

System.out.println("Enter your choice from above (1-10) ");

n=in.nextInt();

switch(n)

case 1:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println(" Bike chosen and price : Kawasaki Ninja ZX-10R -> Rs. 18.21 Lakhs
PASSION - $20,000");

break;

case 2:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);


System.out.println("Bike chosen and price : Suzuki Hayabusa -> Rs. 17.86 Lakhs");

break;

case 3:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bike chosen and price : BMW S 1000 RR -> Rs. 25.57 Lakhs");

break;

case 4:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bike chosen and price : Keeway V302C -> Rs. 4.9 Lakhs");

break;

case 5:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bike chosen and price : Harley-Davidson -> Rs. 29.99 Lakhs");

break;

case 6:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);


System.out.println("Email of the customer : "+email);

System.out.println("Bike chosen and price : Kawasaki Ninja H2R -> Rs. 73 Lakhs");

break;

case 7:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Bike chosen and price : Bajaj pulsar -> Rs. 1.18 lakhs");

break;

case 8:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bike chosen and price : Honda SP -> Rs. 1.4 Lakhs");

break;

case 9:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bike chosen and price : Heero Splendor -> Rs. 77.3 Thousand");

break;

case 10:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);


System.out.println("Email of the customer : "+email);

System.out.println("Bike chosen and price : Bajaj Pulsar -> Rs. 1.2 Lakhs");

break;

default:

System.out.println("Wrong choice");

break;

break;

case 3:

System.out.println("<<<<<<<<<<<<<<<<<<<<<<<<<<<Welcome to SNP Luxurious


Vihicles!!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");

System.out.println(" <<<<<<<<<<<<<<<<<<Please select a car to


purchase:>>>>>>>>>>>>>>>>>>");

System.out.println(".");

System.out.println(" < PRIVATE_BUSSES >");

System.out.println(".");

System.out.println("1. Bus No.1 -> Rs. 94.3 Lakhs");

System.out.println("2. Bus No.2 -> Rs. 17.86 Lakhs");

System.out.println("3. Bus No.3 -> Rs. 13.57 Lakhs");

System.out.println(".");

System.out.println(" < DOUBLE_DECCAR >");

System.out.println(".");

System.out.println("4. Bus No.1 -> Rs. 4.9 Lakhs");

System.out.println("5. Bus No.2 -> Rs. 29.99 Lakhs");

System.out.println("6. Bus No.3 -> Rs. 73 Lakhs");

System.out.println(".");

System.out.

println(" < Public Transport(ST's) >");


System.out.println(".");

System.out.println("7. Bus No.1 -> Rs. 1.18 lakhs");

System.out.println("8. Bus No.2 -> Rs. 1.4 Lakhs");

System.out.println("9. Bus No.3 -> Rs. 77.3 Thousand");

System.out.println("10. Bus N0.4 -> Rs. 1.2 Lakhs");

System.out.println("Enter your choice from above (1-10) ");

n=in.nextInt();

switch(n)

case 1:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.1 -> Rs. 94.3 Lakhs");

break;

case 2:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.2 -> Rs. 17.86 Lakhs");

break;

case 3:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);


System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.3 -> Rs. 13.57 Lakhs");

break;

case 4:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.1 -> Rs. 4.9 Lakhs");

break;

case 5:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.2 -> Rs. 29.99 Lakhs");

break;

case 6:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.3 -> Rs. 73 Lakhs");

break;

case 7:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);


System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.1 -> Rs. 1.18 lakhs");

break;

case 8:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.2 -> Rs. 1.4 Lakhs");

break;

case 9:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus No.3 -> Rs. 77.3 Thousand");

break;

case 10:

System.out.println("Bill :");

System.out.println("Name of the customer : "+name);

System.out.println("Number of the customer : "+number);

System.out.println("Email of the customer : "+email);

System.out.println("Bus chosen and price : Bus N0.4 -> Rs. 1.2 Lakhs");

break;

default:

System.out.println("Wrong choice");
break;

System.out.println("Thanks for purchasing :");

System.out.println("Your coupn code is:91981");

You might also like