You are viewing a single comment's thread. Return to all comments →
I used a slightly different approach:
int size = Convert.ToInt32(Console.ReadLine()); for(int i=1;i<=size;i++){ Console.WriteLine(new string(' ', size - i) + new string('#', i)); }
Seems like cookies are disabled on this browser, please enable them to open this website
Staircase
You are viewing a single comment's thread. Return to all comments →
I used a slightly different approach: