/***************************************************************************** * Determines if three lengths form a triangle. * * Inputed: a, b, c (three integer lengths). * * Outputed: (A statement concluding if they form a triangle). * * Written: October 4, 2001 * * By: Ronald Roberts * *****************************************************************************/ //Program 18 //04OCT01 #include #include #include int main() { int a=0, b=0, c=0, a1=0, b1=0, c1=0, x=0, y=0; cout<<"Please enter three integers:"<>a>>b>>c; if(a+b>c&&a+c>b&&b+c>a) { cout<