Write a Java program called SlashFigure that produces the following output. Use nested for loops to capture the structure of the figure. (See also Self-Check Problems 1 and 2.)

Problem 1
Write a table that determines the expressions for the number of each type of character on each of the 6 lines in the following output.

Problem 2
Suppose that a program has been written that produces the output shown in the previous problem. Now the author wants the program to be scalable using a class constant called SIZE. The previous output used a constant height of 6, since there were 6 lines. The following is the output for a constant height of 4. Create a new table that shows the expressions for the character counts at this new size of 4, and compare these tables to figure out the expressions for any size using the SIZE constant.

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.