int i= 1, j= 11, m = 100; for(int k = 0; k < input ; k++){ printf("%d\n", i); i = i + j; j = j + m; m = m * 10; } How's this?
You remember this guy from the candle problem, right? Better not to argue 😂
Why shouldn't it?