Advertisement
bertao

exercicio 1

Apr 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2. int main(void){
  3. int X , Y ;
  4. printf("X:");
  5. scanf ("%d",&X);
  6.  
  7. printf("Y:");
  8. scanf("%d",&Y);
  9.  
  10. if(X>Y){
  11. printf("%d",X);
  12. }
  13. else {
  14. printf("%d",Y);
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement