Advertisement
vasilStanoev

Untitled

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