May-09-2019, 01:50 PM
Could someone help me to get required output?
The number of rows must be between 11 and 20 and the The result will appear in the console output as indicated in the figure. If the user enters a value less than 11 rows, adjust the value from rows to 11. If the user enters a value greater than 20, adjust the value of rows to 20.
The number of rows must be between 11 and 20 and the The result will appear in the console output as indicated in the figure. If the user enters a value less than 11 rows, adjust the value from rows to 11. If the user enters a value greater than 20, adjust the value of rows to 20.
Output:Expected OUTPUT
..........1
.........232
........34543
.......4567654
......567898765
.....67890109876
....7890123210987
...890123454321098
..90123456765432109
.0123456789876543210
123456789010987654321