Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main ()
- {
- int a, b, c;
- printf("informe valores para as variaveis a,b,c"); scanf("%i%i%i",&a,&b,&c);
- if((a<b+c) && (b<c+a) && (c< a+b)){
- if((a==b ) && (b==c)){
- printf("equilatero");
- } else {
- if ((a==b)|| (a==c)|| (b==c)){
- printf("isoceles");
- }else{
- printf("escaleno");
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement