fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void)
  4. {
  5. int a = 4, b = 6 , larger;
  6.  
  7. a>b ? (larger=a):(larger=b);
  8.  
  9. printf("%d數值比較大",larger);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
6數值比較大