I need some help. I want my program to print different numbers according to the user's input and indent that number with that number of spaces as well. Must be using a nested loop.
Expected Output: (lets say user types
for (i=0; i<=userNum; i++)
for (j=0; j<=i; j++)
? (I think here is the problem as I don't know how to indent by that no of spaces)
Inside the loop you should use