Project 2

Source Code

import math

def main():
    print("Welcome to My Restaurant")
    print("Name: ")
    print("Project 2")
    done = False
    while not done:
        print("Menu")
        print("R - Restaurant Information")
        print("A - Appetizers")
        print("E - Entrees")
        print("D - Desserts")
        print("B - Beverages")
        print("V - View Order")
        print("P - Place Order")
        print("Q - Quit")
        choice = input("Choice: ").upper()
        match choice:
            # case "E1":
            case "Q":
                print("Quit!")
                done = True
            case "I":
                information()
            # add additional cases
        
            # default case
            case _:
                print("Invalid Choice")

# define restaurant information function
def information():
    print("Restaurant Information")

# define appetizers function


# define entrees function


# define desserts function


# define beverages function


# define saveOrder function


# define viewOrder function


# define placeOrder function


# call to main function, do not delete!
main()

Last updated