SHARE
TWEET

Untitled

a guest Sep 20th, 2019 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main(){
  4.     int n;
  5.     scanf("%d",&n);
  6.     for (int i=1;i<=n;i++){
  7.         for (int j=1;j<=i;j++){
  8.             printf("%d",j);
  9.         }
  10.     }
  11.     puts("");
  12.     return 0;
  13. }
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