for (i=0; i<=9 ; i++)
numb[i]=numb[i]-(i+1);
for(i=0;i<=9;i++)
printf("%d\n",numb[i]);

try this instead of for loop in 45