Advertisement
Kuncavia

3EqualNumbers

Sep 14th, 2016
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.60 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Junk
  7. {
  8.     class Program
  9.     {
  10.         static void Main(string[] args)
  11.         {
  12.             var num1 = int.Parse(Console.ReadLine());
  13.             var num2 = int.Parse(Console.ReadLine());
  14.             var num3 = int.Parse(Console.ReadLine());
  15.             if (num1 == num2 && num2 == num3)
  16.             {
  17.                 Console.WriteLine("yes");
  18.             }
  19.             else
  20.             {
  21.                 Console.WriteLine("no");
  22.             }
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement