SHARE
TWEET

Untitled

a guest Jan 24th, 2020 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     int i;
  2.     int k;
  3.     int num= 1;
  4.  
  5.     for (k = 1; k < 10; k++) {
  6.         printf("\n");
  7.         printf(" ");
  8.  
  9.         num=k;
  10.         for (i = 0; i < num; i++) {
  11.                
  12.                 printf("%d", num);
  13.                 printf("%d", num);
  14.  
  15.         }//end nested for loop
  16.  
  17.    
  18.     }//end for loop
  19.  
  20.     return 0;
  21. }//end do191
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top