bacco

Еднакви 3 числа

Jan 20th, 2018
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1. using System;
  2.  
  3. namespace tESt
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.  
  10.  
  11.             double numOne = double.Parse(Console.ReadLine());
  12.             double numTwo = double.Parse(Console.ReadLine());
  13.             double numThree = double.Parse(Console.ReadLine());
  14.  
  15.             if (numOne == numTwo && numTwo == numThree)
  16.             {
  17.                 Console.WriteLine("yes");
  18.             }
  19.             else
  20.                 Console.WriteLine("no");
  21.  
  22.         }
  23.  
  24.  
  25.     }
  26.    
  27. }
Advertisement
Add Comment
Please, Sign In to add comment