Hi, I'm really new to java and having trouble working out what should be inside my switch statement for each case as the user selects a ticket they then need to be prompted to input a quantity then once done to go to the main menu with the subtotal until they exit completely.


import java.util.Scanner;
import javax.swing.JOptionPane;
 
public class TESTSWITCH {
public TESTSWITCH entry[];
 
 
    public static void main(String[] args) {
        // TODO code application logic here
 
    TESTSWITCH a = new TESTSWITCH();
    a.entry = new TESTSWITCH[100]; 
    int option = 0;
    while (option != 3) {
        String content = "Choose and option\n\n"
                + "[1] Unlimitend Ride Tickets\n"
                + "[2] Single Ride Tickets\n"
                + "[3] Exit and Pay\n";
        option = Integer.parseInt(JOptionPane.showInputDialog(content));
 
    switch (option){
    case 1:
        a.unlimited();
        break;
    case 2:
        a.single();
        break;
    case 3:
        a.exit();
        break;       
    default:
        System.out.println("INVALID Please try again");
        }
 
    }
}
  public void unlimited() {
 
       int option = 0;
        while (option != 5) {
            String content = "Choose an Option\n\n"
                    + "[1] 4 Person Family Pass\n"          // Cost $139.95
                    + "[2] 13+yr to Adult\n"                // Cost $39.95
                    + "[3] 4yr to 12yr\n"                   // Cost $29.95
                    + "[4] Children under 3yrs\n"           // Cost $0.00
                    + "[5] Exit to Main Menu";              // Exit
            option = Integer.parseInt(JOptionPane.showInputDialog(content));
            switch (option) {
                case 1:
                    // User enters a ticket amount then the price is calculated and discounted
                    break;
                case 2:
                    // User enters a ticket amount then the price is calculated and discounted
                    break;
                case 3:
                    // User enters a ticket amount then the price is calculated and discounted
                    break;
                case 4:
                    // User enters a ticket amount then the price is calculated and discounted
                    break;
                case 5:
                    ;
                    return;
                default:
                    System.out.println("INVALID Please try again");
                    }
        }
    }
 
public void single() {
 
    Scanner keyboard = new Scanner(System.in);
 
       int option = 0;
        while (option != 4) {
            String content = "Choose an Option\n\n"
                    + "[1] 13+yr to Adult\n"              // Cost $9.95
                    + "[2] 4yr to 12yr\n"                 // Cost $8.95
                    + "[3] Children under 3yrs\n"         // Cost $0.00
                    + "[4] Exit to Main Menu";            // Exit 
            option = Integer.parseInt(JOptionPane.showInputDialog(content));
            switch (option) {
                case 1:
                    // User enters a ticket amount then the price is calculated
                   // String text = keyboard.nextLine();
                   // System.out.println("How many tickets would you like");
 
                    break;
                case 2:
                    // User enters a ticket amount then the price is calculated
                    break;
                case 3:
                    // User enters a ticket amount then the price is calculated
                    break;
                case 4:
                    ;
                    return;
                default:
                    System.out.println("INVALID Please try again");
                    }
        }
    }
 
public void exit() {
 
  //  ticketCost = unlimitedPrice + singlePrice;
 
   // System.out.println("Your Total Bill is $"+(ticketCost));
 
    // DISPLAY TOTAL AMOUNT FOR ALL TICKETS
 
}
 
 
}