Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int x,y,z;
- printf("Enter Three Number:");
- scanf("%d %d %d",&x,&y,&z);
- if(x>y&&x>z){
- printf("%d is largest number",x);
- }
- else if(y>x&&y>z)
- {
- printf("%d is largest number",y);
- }
- else
- printf("%d is largest number",z);
- return 0;
- }
Add Comment
Please, Sign In to add comment