Advertisement
Mehrin_97

Assembly lab ak mam (02) 20 oct

Oct 20th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int x,y,z;
  5. scanf("%d %d %d",&x,&y,&z);
  6. if(x>y&&x>z)
  7. {
  8. printf("maximum is %d",x);
  9. }
  10. else if(y>x&&y>z)
  11. {
  12. printf("maximum is %d",y);
  13. }
  14. else {printf("maximum is %d",z);}
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement