Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
joseph a triangle
#include "stdio.h" void main() { int num1; int num2; int num3; scanf("%d %d %d",&num1,&num2,&num3); if(num1<=0 || num2<=0 || num3<=0) printf("not aceptable"); else if(num1 + num2 < num3 ||num1 + num3 < num2 || num3 + num2 < num1) printf("error"); else if(num1==num2 && num2==num3 && num3==num1) printf(" equilateral"); else if(num1==num2 || num2==num3 || num3==num1) printf(" isoseles"); else if(num1!=num2 && num2!=num3 && num3!=num1) printf(" scalene"); else printf("0"); }
run
|
edit
|
history
|
help
0
UserDefinedDataType_pointer1
A_141117_Primo01
Simple interest
Lab 9 v0.8
Prgm
C_141204_ContadorPalabras
2.1 Comparision of Matrix Transpose Execution Time
A_141107_Potencia
Sum Two Numbers
4