Guest User

Untitled

a guest
Jan 29th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System;
  2.                    
  3. public class Program
  4. {
  5.     public static void Main()
  6.     {
  7.          
  8.        
  9.             var num1 = double.Parse(Console.ReadLine());
  10.             var num2 = double.Parse(Console.ReadLine());
  11.             var num3 = double.Parse(Console.ReadLine());
  12.        
  13.             if ((num1 == num2)&&(num1==num3)) Console.WriteLine("yes");
  14.             else Console.WriteLine("no");
  15.            
  16.  
  17.        
  18.        
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment