Advertisement
Guest User

Untitled

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