Welcome to the program, let's begin!
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
1
Name: Harry Potter
Major: Sociology
Credits: 92
Age: 17
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
1
Name: Hermione Granger
Major: Psychology
Credits: 47
Age: 18
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
1
Name: Ron Weasley
Major: Physics
Credits: 33
Age: 18
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
2
Title: Polyjuice
Department: Potions
Credits: 6
Maximum Students: 24
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
2
Title: Occulumency
Department: Psychic
Credits: 3
Maximum Students: 15
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
3
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
0
Courses:
Polyjuice: #0
Occulumency: #1
Enter course ID#:
0
Harry Potter added to Polyjuice
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
3
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
1
Courses:
Polyjuice: #0
Occulumency: #1
Enter course ID#:
0
Hermione Granger added to Polyjuice
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
3
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
2
Courses:
Polyjuice: #0
Occulumency: #1
Enter course ID#:
0
Ron Weasley added to Polyjuice
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
3
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
1
Courses:
Polyjuice: #0
Occulumency: #1
Enter course ID#:
1
Hermione Granger added to Occulumency
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
3
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
2
Courses:
Polyjuice: #0
Occulumency: #1
Enter course ID#:
1
Ron Weasley added to Occulumency
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
4
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
0
Name: Harry Potter
Major: Sociology
Credits: 92
Age: 17
Spent So Far: 31794.28
Student is senior? true
Courses:
Polyjuice
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
4
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
1
Name: Hermione Granger
Major: Psychology
Credits: 47
Age: 18
Spent So Far: 16242.73
Student is senior? false
Courses:
Polyjuice
Occulumency
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
4
Students:
Harry Potter: #0
Hermione Granger: #1
Ron Weasley: #2
Enter student ID#:
2
Name: Ron Weasley
Major: Physics
Credits: 33
Age: 18
Spent So Far: 11404.47
Student is senior? false
Courses:
Polyjuice
Occulumency
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
5
Courses:
Polyjuice: #0
Occulumency: #1
Enter course ID#:
0
Title: Polyjuice
Department: Potions
Credits: 6
Enrollment: 3
Cost: 2073.54
Course is intensive? true
Students enrolled:
Harry Potter
Hermione Granger
Ron Weasley
Press ENTER to continue or input 1 to quit:
Here are your options:
1 = Add a new student
2 = Add a new course
3 = Enroll a student in a course
4 = Print student info
5 = Print course info
Please enter an integer, 1-5:
5
Courses:
Polyjuice: #0
Occulumency: #1
Enter course ID#:
1
Title: Occulumency
Department: Psychic
Credits: 3
Enrollment: 2
Cost: 1036.77
Course is intensive? false
Students enrolled:
Hermione Granger
Ron Weasley
Press ENTER to continue or input 1 to quit:
1
Program complete