-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode
More file actions
60 lines (51 loc) · 2.23 KB
/
code
File metadata and controls
60 lines (51 loc) · 2.23 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
using System;
namespace Chat_Bot
{
class Program
{
static void Main(string[] args)
{
string oplakvane = "";
while (true)
{
if (oplakvane == "END" || oplakvane == "end")
{
return;
}
Console.WriteLine("These are the rules we made up.");
Console.WriteLine();
Console.WriteLine("1. The discussion or comments abut politics is banned.");
Console.WriteLine("2. The students must be in class.");
Console.WriteLine("3. Everyone has to be a part from discussions.");
Console.WriteLine("4. If students in 5 minutes or more are late for class, and this activity repeats it's self all the time, they will be warned for being suspanded from the school.");
Console.WriteLine("5. All rules are equal, but some are more equal than others.");
Console.WriteLine();
Console.WriteLine("Is there a rule with which you disagree?");
int input = int.Parse(Console.ReadLine());
switch (input)
{
case 1:
Console.WriteLine("Why don't you agree with rule one?");
break;
case 2:
Console.WriteLine("Why don't you agree with rule two?");
break;
case 3:
Console.WriteLine("Why don't you agree with rule three?");
break;
case 4:
Console.WriteLine("Why don't you agree with rule four?");
break;
case 5:
Console.WriteLine("Why don't you agree with rule five?");
break;
}
oplakvane = Console.ReadLine();
Console.WriteLine("Thanks for the feedback!");
Console.WriteLine("If you want to comment on other rule type in yes, if you don't want to type in END/end.");
oplakvane = Console.ReadLine();
Console.Clear();
}
}
}
}