Advertisement
Jater

Fedya_Isosceles_triangle

Dec 2nd, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.65 KB | None | 0 0
  1. Console.Write("Veedite storony treugolnika:");
  2.             Console.Write("\nVvedite storonu a: ");
  3.             int a = Convert.ToInt32(Console.ReadLine());
  4.             Console.Write("Vvedite storonu b: ");
  5.             int b = Convert.ToInt32(Console.ReadLine());
  6.             Console.Write("Vvedite storonu c: ");
  7.             int c = Convert.ToInt32(Console.ReadLine());
  8.             if (a == b || a == c || b == c)
  9.             {
  10.                 Console.Write("Treugolnik ravnobedrenniy! =D");
  11.             }
  12.             else
  13.             {
  14.                 Console.Write("treugolnik ne ravnobedrenniy! =(");
  15.             }
  16.                 Console.Read();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement