Project 3

Source Code

import math

firstName = "" # add your first name
lastName = "" # add your last name
print("Name: " + firstName + " " + lastName)

def main():
    done = False
    while not done:
        print("Welcome to my College Cost Calculator")
        print("Menu")
        print("1 - Community College")
        print("2 - Public Four Years")
        print("3 - Private Four Years")
        print("4 - Public/Private Four Years")
        print("5 - Loan Repayment Calculator")
        print("Q - Quit")
        choice = input("Choice: ").upper()
        if choice == "1":
            print("Name of Community College")
            # community college function calls


        elif choice == "2":
            print("Name Public Four Years")
            # public four years function calls


        elif choice == "3":
            print("Name of Private Four Years")
            # private four years college function calls


        elif choice == "4":
            print("Public/Private Four Years")
            # public/private college function calls

        elif choice == "5":
            print("Loan Repayment Calculator")
            # loan repayment calculator function call

        elif choice == "Q":
            print("Quitting!")
            done = True
        else:
            print("Invalid choice")

# define Community College Tuition Function


# define College 1 Tuition Function


# define College 1 Housing Function


# define College 1 Meals Function


# define College 1 Fees Function


# define College 1 About Function



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

Last updated