Assignemnt #101 Keychain Shop

Code

    ///Name: Morgan Kaplan
    ///Period: 5
    ///File Name: Key.java
    

import java.util.Scanner;

public class Key
{
	public static void main( String[] args )
	{
        int choice;
        
        do
        {
            Scanner momo = new Scanner(System.in);
        System.out.println("Keychain Shop!");
        System.out.println("1. Add Keychains to order");
        System.out.println("2. Remove Keychains from order");
        System.out.println("3. View current order");
        System.out.println("4. Checkout");
        choice=momo.nextInt();
            
            if (choice==1)
                Add();
            else if (choice==2)
                Remove();
            else if (choice==3)
                View();
            else if (choice==4)
                Checkout();
            else
                Bye();
        } while( choice!=5);
    }
        public static void Add()
    {
    System.out.println( "Add Keychains");
    }
       public static void Remove()
    {
    System.out.println( "Remove Keychains");
    }
       public static void View()
    {
    System.out.println( "View Keychains");
    }
       public static void Checkout()
    {
    System.out.println( "Checkout");
    }
       public static void Bye()
    {
    System.out.println( "Bye, thank you for shopping!");
    }
}
    

Picture of Output

Assignment 101