Identify-Triangle

A collection of 1 post

Identify Triangle

Problem Given three bars of different lengths (A, B, C), “YES” is output if these three bars can form a triangle, and “NO” if they cannot be made. input The first line gives you 100 different lengths of bars A, B, and C. output Print “YES” and “NO” on the first line. Solution using using using