0
i am having a problem printing using a single loop
input output n=1 1 n=2 1 4 n=3 1 4 7 n=4 1 4 7 10
3 Answers
0
row is string
0
whats the logic
0
Sumit,
I think it means 1 + <i> * 3
Where <i> is a loop counter initialized by zero, run the loop while <i> < <N> ...