Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(){
- float x,y,z;
- printf("digite tres numeros:");
- scanf("%d %d %d",&x,&y,&z);
- if(x>y && x>z)
- printf("x e maior");
- else
- if(y>x && y>z)
- printf("y e maior");
- else
- if(z>x && z>y)
- printf("z e maior");
- else
- printf("nao existe unico maior");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment