Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 5th, 2018 129 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #include<stdio.h>
  2. #define SIZE 100000
  3. int ara[SIZE];
  4. int main()
  5. {
  6.     int i,m=1,num=0;
  7.     for(i=0;i<11;i++)
  8.     {
  9.         num=num*10+m;
  10.         ara[i]=num;
  11.         m++;
  12.         while(m==10)    m=0;
  13.     }
  14.     for(i=0;i<11;i++)     printf("%d\n",ara[i]);
  15.  
  16.     return 0;
  17. }
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