// Modularization:
// Advantages: 
// 1. Easier to code and debug
// 2. Readability
// 3. Easier to modify

import java.util.Scanner;

public class Menu {
  
  public static void main(String[] args)   {
    
     Scanner in = new Scanner(System.in);
     int choice;
     System.out.println("1: Option A \n 2: Option B \n 3:Option C");
     System.out.println("Enter the number to left of your plan: ");
     choice = in.nextInt();
     // show how to use a menu in a program
     switch (choice) {
       case 1: 
               optionA();
               break;
       case 2: 
               optionB();
               break;
       case 3: 
               optionC();
               break;
       default: System.out.println("not a valid choice...");
     }  
  }
}

/* LAB9: Write a method to read in 2 numbers, add them, and print
 * the value to the screen. 
   call the method twice from main inside a class. */





