-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
43 lines (40 loc) · 1.21 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System;
using System.Runtime.Intrinsics.Arm;
public class Program
{
private static void Main(string[] args)
{
var course = new Course();
bool stop = false;
while (!stop)
{
Console.WriteLine("FUTA Course Registration System");
Console.WriteLine("1. Register as a new Member");
Console.WriteLine("2. View all Students");
Console.WriteLine("3. View Available Courses");
Console.WriteLine("4. Exit");
Console.WriteLine("5. Enroll Student in a Course");
Console.WriteLine("-------------------------------------");
Console.WriteLine("Enter your Choice");
string choice = Console.ReadLine();
switch (choice)
{
case "1":
Student.AddStudent();
break;
case "2":
Student.ViewAllStudent();
break;
case "3":
course.ViewAllCourse();
break;
case "4":
stop = true;
break;
case "5":
Course.EnrollStudentInACourse();
break;
}
}
}
}