eolymp
bolt
Try our new interface for solving problems
Problems

Triangle

published at 1/13/24, 5:07:21 pm

include <bits/stdc++.h>

using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a+b>c and a+c>b and b+c>a) { int n=a+b+c; cout<<n; } else { cout<<"No"<<endl; } return 0; }//Easy