fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int k, num = 30;
  5. k = (num < 10) ? 100 : 200;
  6. printf("%d", num);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 5284KB
stdin
1
2
10
42
11
stdout
30