Easy10 pts
Staircase
Print a staircase of size n: right-aligned '#' with spaces. Line i has i '#' and (n-i) spaces.
Input
A single integer n.
Output
n lines. Each line has spaces then #.
Sample
6
Expected
#
##
###
####
#####
######Loading editor…
Output
No output yet. Run your code to see results.