Question: Please write a Java program that displays the following: Assume the user doesn't input a value beyond 6 onto the console. Code needs to be
Please write a Java program that displays the following:

Assume the user doesn't input a value beyond 6 onto the console. Code needs to be implemented as nested for-loops. If the input is 5, the output should stop at the 5th line, and likewise. You may arbitrarily choose the amount of spacing between the the 'hills' of numbers.
1 21 12 123 321 1234 4321 12345 54321 123456654321
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
