-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProgram.cs
57 lines (56 loc) · 1.5 KB
/
Program.cs
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
Console.WriteLine("Insert the day bro... ");
var day = Console.ReadLine();
switch (day)
{
case "1":
Console.WriteLine(Day1.PartOne());
Console.WriteLine(Day1.PartTwo());
break;
case "2":
Console.WriteLine(Day2.PartOne());
Console.WriteLine(Day2.PartTwo());
break;
case "3":
Console.WriteLine(Day3.PartOne());
Console.WriteLine(Day3.PartTwo());
break;
case "4":
Console.WriteLine(Day4.PartOne());
Console.WriteLine(Day4.PartTwo());
break;
case "5":
Console.WriteLine(Day5.PartOne());
Console.WriteLine(Day5.PartTwo());
break;
case "6":
Console.WriteLine(Day6.Part(4));
Console.WriteLine(Day6.Part(14));
break;
case "7":
Console.WriteLine(Day7.Part(false));
Console.WriteLine(Day7.Part(true));
break;
case "8":
Console.WriteLine(Day8.PartOne());
Console.WriteLine(Day8.PartTwo());
break;
case "9":
Console.WriteLine(Day9.Part(2));
Console.WriteLine(Day9.Part(10));
break;
case "10":
Console.WriteLine(Day10.PartOne());
Day10.PartTwo();
break;
case "11":
Console.WriteLine(Day11.Part());
Console.WriteLine(Day11.Part(10000, 1));
break;
case "13":
Console.WriteLine(Day13.PartOne());
Console.WriteLine(Day13.PartTwo());
break;
default:
Console.WriteLine("Default");
break;
}