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