Problem 3 – Stairs

$16.00

Category:

Description

Given an integer input N, print a staircase out of height N. For example, given the input 5, print out the following staircase: # ## ### #### ##### Input format – from text file: The first line contains an integer with the number of test cases. The following lines are the heights of the stairs Ex. 2 4 4 Output format – console Print to console space separated stairs # ## # ## ### #### # ## ### ####