Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.Write("Veedite storony treugolnika:");
- Console.Write("\nVvedite storonu a: ");
- int a = Convert.ToInt32(Console.ReadLine());
- Console.Write("Vvedite storonu b: ");
- int b = Convert.ToInt32(Console.ReadLine());
- Console.Write("Vvedite storonu c: ");
- int c = Convert.ToInt32(Console.ReadLine());
- if (a == b || a == c || b == c)
- {
- Console.Write("Treugolnik ravnobedrenniy! =D");
- }
- else
- {
- Console.Write("treugolnik ne ravnobedrenniy! =(");
- }
- Console.Read();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement