-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.c
135 lines (117 loc) · 3.66 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#include <stdio.h>
int main()
{
int number = 0,choice;
printf("Enter Your Phone Number : ");
scanf("%d",&number);
start:
printf("\v \v _____________________________ \a");
printf("Your Phone Number : \t +91 %d",number);
printf("\n\t Instructions");
printf("\n1] Change Language");
printf("\n2] Check Balance");
printf("\n3] My Offer");
printf("\n4] My Account Info");
printf("\n5] Recharge");
printf("\n6] Other Services");
printf("\n7] DTH cable service ");
printf("\n8] Airtel Payments Bank");
printf("\n9] Aritel Thanks App");
printf("\n0] Exit");
printf("\n\n\n Enter your choice : ");
scanf("%d",&choice);
int choicelang;
switch(choice)
{
case 1:
printf("_____________________");
printf("\n Select Language");
printf("\n1] English \n");
printf("2] Hindi \n");
printf("3] Marathi \n");
printf("Choice : ");
scanf("%d",&choicelang);
switch(choicelang)
{
case 1:
printf("_________________\n");
goto start;
break;
default:
printf("_________________\n");
printf("No Language available For Now :-(\n");
goto start;
break;
}
break;
case 2:
printf("_______________________");
printf("\n balance");
printf("\nCurrent balence : 0.00 Rs\n");
printf("Validity : 1 - jan - 2025\n");
printf("Unlimited Calling\n");
printf("Unlimited Massege\n");
printf("2 GB data Per Day \n");
printf("_______________________\n");
goto start;
break;
case 3:
printf("_____________________\n");
printf("\n my offer\n");
printf("No Any offer Available For Now \n");
goto start;
break;
case 4:
printf("_____________________\n");
printf("\n My Account Info");
printf("\nYour Phone Number : \t +91 %d",number);
goto start;
break;
case 5:
printf("_____________________\n");
printf("\n Recharge\n");
printf("Your Currrent Recharge ammount is : 29999\n");
printf("Validity : 1 - jan - 2025\n");
goto start;
break;
case 6:
printf("_____________________\n");
printf("\n other service\n");
printf("For More Information Goto Our Wbsite - \n");
printf("www.airtel.com\n");
goto start;
break;
case 7:
printf("_____________________\n");
printf("\n DTH");
printf("\nToll Free No : 54633\n");
goto start;
break;
case 8 :
printf("_____________________\n");
printf("\nAirtel Payments Bank");
printf("\n Download Airtel Payment Bank \n Download From Link And Get 50 Rs cashback \n");
printf("www.airtelpymentapp.com/refere50");
goto start;
break;
case 9:
printf("_____________________\n");
printf("\n Airtel Thanks App\n");
printf("Download Airtel Thanks App And Get 2 GB Data For Free\n");
printf("www.airtelthanksapp.com/2gb");
goto start;
break;
case 0:
printf("_____________________\n");
printf("Exiting. . .\n");
printf("Thank You ");
return 0;
break;
default:
printf("_____________________");
printf("\n please enter correct choice\n\n");
goto start;
break;
}
return 0;
}