-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCustomerService(1).java
More file actions
98 lines (61 loc) · 2.07 KB
/
Copy pathCustomerService(1).java
File metadata and controls
98 lines (61 loc) · 2.07 KB
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
import java.util.Scanner;
class CustomerService{
static void main(String[] args){
Scanner inputCollector = new Scanner(System.in);
String menu = """
WELCOME TO MTN - TECHTRIBE EDITION
For English - Press 1
For Yoruba - Press 2
For Hausa - Press 3
For Igbo - Press 4
For Pidgin - Press 5
""";
System.out.print(menu);
int generalMenuChoice = inputCollector.nextInt();
switch(generalMenuChoice){
case 1 -> {System.out.println("English Menu");
String englishMenu = """
Press 1 - To Register at Semicolon
Press 2 - To Register at Amotekun
Press 3 - To Register for Neighbourhood
""";
System.out.println(englishMenu);
int englishMenuChoice = inputCollector.nextInt();
switch(englishMenuChoice){
case 1 -> {System.out.print("You use your hand enter wahala");
String englishSemicolonMenu = """
Press 1 - To Drop Out
""";
System.out.println(englishSemicolonMenu);
int englishSemicolonMenuChoice = inputCollector.nextInt();
switch(englishSemicolonMenuChoice){
case 1 -> System.out.print("It's already too late o");
}
}
case 2 -> System.out.print("Amotekun form is still available");
case 3 -> System.out.print("Free Bicycle available");
default -> System.out.println("Oga, you no go school");
}
}
case 2 -> {System.out.printf("Yoruba Menu");
String yorubaMenu = """
Te 1 - Lati foruko sile si Semicolon
Te 2 - Lati foruko sile si Amotekun
Te 3 - Lati foruko sile si Neighbourhood
""";
System.out.println(yorubaMenu);
int yorubaMenuChoice = inputCollector.nextInt();
switch(yorubaMenuChoice){
case 1 -> System.out.print("E ti wo ooooooooooooooooo");
case 2 -> System.out.print("E ma gba uniform");
case 3 -> System.out.print("E ma gba keke");
default -> System.out.println("Oga, e lo school na");
}
}
case 3 -> System.out.printf("Hausa Menu");
case 4 -> System.out.printf("Igbo Menu");
case 5 -> System.out.printf("Pidgin Menu");
default -> System.out.println("Oga, you no go school");
}
}
}