-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCallCenter.java
More file actions
85 lines (81 loc) · 4.11 KB
/
CallCenter.java
File metadata and controls
85 lines (81 loc) · 4.11 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
package calc;
import java.util.Scanner;
public class CallCenter {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("Press\n1 for English \n2 for French");
if (sc.nextInt() == 1) {
System.out.println("Press\n1 for Internet \n2 for Mobile \n3 to go back to main menu");
int input1 = sc.nextInt();
switch (input1) {
case 1:
System.out.println("You selected Internet \nPress\n1 for Billingc\n2 for Account infoc\n3 for Payment arrangement \n" +
"4 for technical Support");
int inputi2 = sc.nextInt();
switch (inputi2) {
case 1:
System.out.println("Here are your billing details");
break;
case 2:
System.out.println("Here is your account info");
break;
case 3:
System.out.println("Here are your payment methods");
break;
case 4:
System.out.println("Press\n1 to talk to an agent \n2 to talk to our automated chatbot");
int inputi3 = sc.nextInt();
if (inputi3 == 1) {
System.out.println("Your wait time is 200 mins");
} else if (inputi3 == 2) {
System.out.println("Please type your message");
} else {
System.out.println("Invalid option");
}
break;
case 5:
System.out.println("Going back to main menu");
break;
default:
System.out.println("Invalid option exiting");
}
break;
case 2:
System.out.println("You selected Mobile \nPress\n1 for Billing\n2 for Account infoc\n3 for Payment arrangement \n" +
"4 for technical Support");
int inputm2 = sc.nextInt();
switch (inputm2) {
case 1:
System.out.println("Here are your billing details");
break;
case 2:
System.out.println("Here is your account info");
break;
case 3:
System.out.println("Here are your payment methods");
break;
case 4:
System.out.println("Press \n1 to talk to an agent \n2 to talk to our automated chatbot");
int inputm3 = sc.nextInt();
if (inputm3 == 1) {
System.out.println("Your wait time is 200 mins");
} else if (inputm3 == 2) {
System.out.println("Please type your message");
} else {
System.out.println("Invalid option");
}
break;
case 5:
System.out.println("Going back to main menu");
break;
default:
System.out.println("Invalid option exiting");
}
break;
default:
System.out.println("Invalid option");
break;
}
}
}
}