Advertisement
semkaegor4ik

2 2 17

Sep 9th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1. using System;
  2. namespace Example
  3. {
  4.     class Program
  5.     {
  6.         static void Main()
  7.         {
  8.             Console.WriteLine("a,b,c:= ");
  9.             int a = int.Parse(Console.ReadLine());
  10.             int b = int.Parse(Console.ReadLine());
  11.             int c = int.Parse(Console.ReadLine());
  12.             string result = ( (a > b + c) || (b > a + c) || (c > b + a) ) ? "No": "Yes";
  13.             Console.WriteLine(result);
  14.         }
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement