Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main ()
- {
- int a,b,c,L,K;
- scanf("%d""%d""%d\n",&a,&b,&c);
- L=2*a+2*b;
- K=4*c;
- if(L>K)
- printf("Pravoagolnik");
- else if (K>L)
- printf("Kvadrat");
- else if (K=L)
- printf("isti se");
- return 0 ;
- }
Advertisement
Add Comment
Please, Sign In to add comment