@@ -0,0 +1,1231 @@
+/*%0A%0AYour teacher has given you the task of drawing a staircase structure. %0ABeing an expert programmer, you decided to make a program to draw it for you instead.%0AGiven the required height, can you print a staircase as shown in the example?%0A%0AInput %0A%0AYou are given an integer N depicting the height of the staircase.%0A%0AOutput %0A%0APrint a staircase of height N that consists of # symbols and spaces. %0AFor example for N=6, here's a staircase of that height:%0A%0A     #%0A    ##%0A   ###%0A  ####%0A #####%0A######%0A%0A%0ANote: The last line has 0 spaces before it.%0A%0A */%0A%0Aimport java.util.Scanner;%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner read = new Scanner(System.in);%0A        %0A        int n = read.nextInt();%0A        int numberOfSpaces = n;%0A        int numberOfSymbols = 1;%0A        %0A        while (numberOfSpaces %3E 0)%0A        %7B%0A%09        for (int i = 1; i %3C numberOfSpaces; ++i) %0A%09        %7B%0A%09        %09System.out.print(%22 %22);%0A%09        %7D%0A%09        for (int j = 1; j %3C= numberOfSymbols; ++j)%0A%09        %7B%0A%09        %09System.out.print(%22#%22);%0A%09        %7D%0A%09        System.out.println();%0A%09        %0A%09        numberOfSymbols++;%0A%09        numberOfSpaces--;%0A        %7D%0A        %0A        // Close scanner%0A        read.close();%0A    %7D%0A%7D%0A

Create Staircase.java