#18623: the answer just change the三邊成立


creepermc18@gmail.com (仙仙)

學校 : 不指定學校
編號 : 99917
來源 : [120.126.126.21]
最後登入時間 :
2019-07-26 14:05:45

#include<iostream>
using namespace std;
int main ()
{
int a , b , c ;
cin >> a >> b >> c ;
if ((a+b)>c)
cout << "三邊成立" << endl;
else if ((a+c)>b)
cout << "三邊成立" << endl;
else if ((b+c)>a)
cout << "三邊成立" << endl;
else
cout << "不成立!" << endl;
return 0;

}