fork(1) download
  1. /* Helloプログラム */
  2.  
  3. #include <stdio.h>
  4.  
  5. main()
  6. {
  7. int count ;
  8.  
  9. for ( count = 1 ; count <= 10 ; count ++ ) {
  10.  
  11. if ( (count % 2) == 0 ) {
  12. printf("偶");
  13.  
  14. } else {
  15. printf("奇");
  16.  
  17. }
  18.  
  19. }
  20.  
  21. }
Success #stdin #stdout 0.01s 5316KB
stdin
Standard input is empty
stdout
奇偶奇偶奇偶奇偶奇偶