-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab4b7.c
More file actions
38 lines (38 loc) · 879 Bytes
/
lab4b7.c
File metadata and controls
38 lines (38 loc) · 879 Bytes
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
#include<stdio.h>
int main(){
int choice;
printf("MENU\n");
printf("===================\n");
printf("1. CF\n");
printf("2. C\n");
printf("3. HDJ\n");
printf("4. DreamWeaver");
printf("5. RDBMS\n");
printf("6. Learn Java By Example\n");
printf("chon menu (1-6):");
scanf("%d", &choice);
switch (choice) {
case 1:
printf("1. CF\n");
break;
case 2:
printf("2. C\n");
break;
case 3:
printf("3. HDJ\n");
break;
case 4:
printf("4. DreamWeaver\n");
break;
case 5:
printf("5. RDBMS\n");
break;
case 6:
printf("6. Learn Java By Example\n");
break;
default:
printf("Chon sai\n");
break;
}
return 0;
}