-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.c
60 lines (59 loc) · 1.14 KB
/
main.c
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#include <stdio.h>
#include "conio2.h"
#include <stdlib.h>
#include "Railway_Managment_System.h"
int main()
{
int choice;
add_Train();
while(1)
{
clrscr();
choice = enterChoice();
switch(choice)
{
case 1:
view_Train();
break;
case 2:
clrscr();
book_Train();
break;
case 3:
clrscr();
view_ticket();
break;
case 4:
clrscr();
search_Ticket_Number();
break;
case 5:
clrscr();
view_all_bookings();
getch();
break;
case 6:
clrscr();
view_Train_Booking();
getch();
break;
case 7:
clrscr();
cancel_Ticket();
getch();
break;
case 8:
clrscr();
cancel_Train();
getch();
break;
case 9:
clrscr();
final_Code();
default:
defaultFunction();
getch();
}
}
return 0;
}