fork download
  1. /* program dengan FOR Bersarang */
  2. #include <stdio.h>
  3. const int PANJANG = 2;
  4. const int TINGGI = 3;
  5. int main () {
  6. int i, j;
  7. for (i = 0; i < TINGGI; i++) {
  8. for (j = 0; j < PANJANG;j++) {
  9. printf ("*") ;
  10. }
  11. printf("\n") ;
  12. }
  13. return 0;
  14. }
  15.  
  16.  
  17.  
  18.  
  19.  
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
**
**
**