fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int a,b;
  5.  
  6.  
  7. printf("\nEnter the value of a, b :\n ");
  8. scanf("%d %d",&a,&b);
  9.  
  10. if(a > b)
  11. {
  12. printf("a is maximum");
  13. }
  14. else
  15. {
  16. printf("b is maximum");
  17. }
  18. return 0;
  19. }
Success #stdin #stdout 0.01s 5288KB
stdin
67
43
stdout
Enter the value of a, b :
 a is maximum