public static void main(String[] args)

    Scanner.sc=new Scanner(System.in);

String name = new String(new char[30]);
final String pizza1 = "Chicken Fazita";
final String pizza2 = "Chicken Bar BQ";
final String pizza3 = "Peri Peri";
final String pizza4 = "Creamy Max";
final String roll1 = "Chicken Chatni Roll";
final String roll2 = "Chicken Mayo Roll";
final String roll3 = "Veg Roll With Fries";
final String bur1 = "Zinger Burger";
final String bur2 = "Chicken Burger";
final String bur3 = "Beef Burger";
final String sand1 = "Club Sandwich";
final String sand2 = "Chicken Crispy Sandwich";
final String sand3 = "Extream Veg Sandwich";
final String bir1 = "Chicken Biryani";
final String bir2 = "Prawn Biryani";
final String bir3 = "Beef Biryani";
char gotostart;
int choice = 0; // time=40;
int pchoice;
int pchoice1;
int quantity;


System.out.print("\t\t\t----------Carl's Jr. Fast Food-----------\n\n");
System.out.print("Please Enter Your Name: ");
name = new Scanner(System.in).nextLine();
System.out.print("Hello ");
System.out.print(name);
System.out.print("\n\nWhat would you like to order?\n\n");

System.out.print("\t\t\t\t--------Menu--------\n\n");

System.out.print("1) Pizzas\n");
System.out.print("2) Burgers\n");
System.out.print("3) Sandwich\n");
System.out.print("4) Rolls\n");
System.out.print("5) Biryani\n\n");
System.out.print("\nPlease Enter your Choice: ");



else if(choice==3)
 {      System.out.print("\n1  "<<sand1<<" Rs.240"<<"\n");
    System.out.println("2  "<<sand2<<" Rs.160"<<"\n");
    System.out.println("3  "<<sand3<<" Rs.100"<<"\n");
    System.out.println("\nPlease Enter which Sandwich you would like to have?:");
    cin>>pchoice1;
    if(pchoice1>=1 && pchoice1<=3)
    {
        System.out.println("\nPlease Enter Quantity: ");
        cin>>quantity;
        switch(pchoice1)
        {
        case 1: choice = 240*quantity;
        break;

        case 2: choice = 160*quantity;
        break;

        case 3: choice = 100*quantity;
        break;

        }
        system("CLS");
        switch (pchoice1)
        {
         case 1:
         System.out.println("\t\t--------Your Order---------\n");
         System.out.println(""<<quantity<<" "<<sand1);
         System.out.println("\nYour Total Bill is"<<choice<<"\nYour Order Will be delivered in 40 Minutes");
         System.out.println("\nThank you For Ordering From Carl's Jr. Fast Food\n");
         break;
         case 2:
         System.out.println("\t\t--------Your Order---------\n");
         System.out.println(""<<quantity<<"  "<<sand2);
         System.out.println("\nYour Total Bill is"<<choice<<"\nYour Order Will be delivered in 40 Minutes");
         System.out.println("\nThank you For Ordering From Carl's Jr. Fast Food\n");
         break;
         case 3:
         System.out.println("\t\t--------Your Order---------\n");
         System.out.println(""<<quantity<<" "<<sand2);
         System.out.println("\nYour Total Bill is"<<choice<<"\nYour Order Will be delivered in 40 Minutes");
         System.out.println("\nThank you For Ordering From Carl's Jr. Fast Food\n");
         break;


        }
        System.out.println("Would you like to order anything else? Y / N:");
        cin>>gotostart;
        if(gotostart=='Y' || gotostart=='y')
        {
          goto beginning;
          //return 0;
        }
        }

This one doesn't look too hard. Just some text, variables and logic. Why not start writing it in Java from scratch?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.