fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a,b;
  5. a=1;
  6. b=2;
  7.  
  8. if(a < b)
  9. {
  10. printf("aはbより小さいです");
  11. }
  12. else if(a == b)
  13. {
  14. printf("aとbは等しいです");
  15. }
  16. else
  17. {
  18. printf("aはbより大きいです");
  19. }
  20. // your code goes here
  21. return 0;
  22. }
  23.  
Success #stdin #stdout 0.01s 5304KB
stdin
Standard input is empty
stdout
aはbより小さいです