SHOW:
|
|
- or go back to the newest paste.
1 | using System; | |
2 | ||
3 | ||
4 | namespace _16.ThreeEqualNumbers | |
5 | { | |
6 | class Program | |
7 | { | |
8 | static void Main() | |
9 | { | |
10 | var num1 = int.Parse(Console.ReadLine()); | |
11 | var num2 = int.Parse(Console.ReadLine()); | |
12 | var num3 = int.Parse(Console.ReadLine()); | |
13 | ||
14 | if (num1 == num2 && num2 == num3 && num3 == num1 ) | |
15 | { | |
16 | Console.WriteLine("yes"); | |
17 | } | |
18 | else | |
19 | Console.WriteLine("no"); | |
20 | } | |
21 | } | |
22 | } |