You are viewing a single comment's thread. Return to all comments →
C#
int i=1; while (i<=n){ Console.WriteLine(new string(' ',n-i)+new string('#',i++)); }
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Staircase
You are viewing a single comment's thread. Return to all comments →
C#