-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
62 lines (54 loc) · 1.28 KB
/
Program.cs
File metadata and controls
62 lines (54 loc) · 1.28 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
// Task1
// Console.WriteLine("Введите число");
// int A = Convert.ToInt32(Console.ReadLine());
// int B = Convert.ToInt32(Console.ReadLine());
// if (A > B)
// {
// Console.Write("Max = ");
// Console.WriteLine(A);
// Console.Write("Min = ");
// Console.WriteLine(B);
// }
// else
// {
// Console.Write("Max = ");
// Console.WriteLine(B);
// Console.Write("Min = ");
// Console.WriteLine(A);
// }
// Tasl2
// Console.WriteLine("Введите число");
// int A = Convert.ToInt32(Console.ReadLine());
// int B = Convert.ToInt32(Console.ReadLine());
// int C = Convert.ToInt32(Console.ReadLine());
// int max = A;
// if (A > max) max = A;
// if (B > max) max = B;
// if (C > max) max = C;
// Console.WriteLine("Max = ");
// Console.WriteLine(max);
//Tasl3
// Console.WriteLine("Введите число");
// int A = Convert.ToInt32(Console.ReadLine());
// if (A%2==0)
// {
// Console.WriteLine("Da");
// }
// else
// {
// Console.WriteLine("No");
// }
// Tasl4
// Console.WriteLine("Введите число");
// int N = Convert.ToInt32(Console.ReadLine());
// int i = 0;
// while (i < N)
// {
// if(i%2 == 0)
// {
// Console.WriteLine(i);
// }
// i ++;
// }
// Tasl5
Console.WriteLine("Введите число");