fork(1) download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int i, j;
  5.  
  6. for ( i=1; i<=9; i++)
  7. printf("%dの段:",i);
  8. {
  9. for ( j=1; j<9; j++){
  10. printf("%d ", i*j );
  11. }
  12. printf("\n");
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
1の段:2の段:3の段:4の段:5の段:6の段:7の段:8の段:9の段:10  20  30  40  50  60  70  80