Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _16.ThreeEqualNumbers
- {
- class Program
- {
- static void Main()
- {
- var num1 = int.Parse(Console.ReadLine());
- var num2 = int.Parse(Console.ReadLine());
- var num3 = int.Parse(Console.ReadLine());
- if (num1 == num2 && num2 == num3 && num3 == num1 )
- {
- Console.WriteLine("yes");
- }
- else
- Console.WriteLine("no");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement