fork download
  1. #include <stdio.h>
  2.  
  3. int main(){
  4. int a=10, b=30;
  5. int result = a > b ? a : b;
  6. printf("%d",result);
  7. return 0;
  8. }
Success #stdin #stdout 0.01s 5296KB
stdin
Standard input is empty
stdout
30