fork download
  1. #include<stdio.h>
  2. int max(int x, int y){
  3. if(x>y){
  4. return x;
  5. } else{
  6. return y;
  7. }
  8. }
  9.  
  10. int main(void){
  11. printf("%d",max(3, 7));
  12. return 0;
  13. }
Success #stdin #stdout 0s 5316KB
stdin
Standard input is empty
stdout
7