-
Notifications
You must be signed in to change notification settings - Fork 0
/
Home Sereen.c
40 lines (36 loc) · 1.03 KB
/
Home Sereen.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
#include <stdio.h>
#include <stdlib.h>
#include<string.h>
int home()
{
printf("\n\t\t\t\t\t\t::::::::::::::::::::::::::::::::::::::::::::\n");
printf("\t\t\t\t\t\t:: ::\n");
printf("\t\t\t\t\t\t:::::::::: Home Menu :::::::::::\n");
printf("\t\t\t\t\t\t:: ::\n");
printf("\t\t\t\t\t\t::::::::::::::::::::::::::::::::::::::::::::\n\n\n");
printf("\t\t\t\t\t\tSelect an Option From Below:\n");
printf("\t\t\t\t\t\t1. Login\n");
printf("\t\t\t\t\t\t2. Register\n");
printf("\t\t\t\t\t\t3. About Us\n");
int ch;
printf("\n\t\t\t\t\t\tEnter Your Choice: ");
scanf("%d",&ch);
switch(ch)
{
case 1:
login();
break;
case 2:
reg();
break;
case 3:
about();
break;
default:
printf("\a\n\t\t\t\t\t\tWrong Input\n");
printf("\t\t\t\t\t\tPress any key to go back.");
getch();
system("CLS");
home();
}
}