Write a program using nested loops that asks the user to input the number of rows from 1 to 13. If the number is not in this range, display an error message and do not do anything. After entering the correct number of rows, the program should print the letter A with Z in row 1, then AZ and BY in row 2, and so on until all the alphabet letters are finished when the number of rows is 13.
Sample Output:
Enter the number of rows: 1
A
Enter the number of rows: 2
AZ
BY
Enter the number of rows: 13
AZ
AZBY
AZBYCX
AZBYCXDW
AZBYCXDWEV
AZBYCXDWEVFU
AZBYCXDWEVFUGT
AZBYCXDWEVFUGTHS
AZBYCXDWEVFUGTHSIR
AZBYCXDWEVFUGTHSIRJQ
AZBYCXDWEVFUGTHSIRJQKP
AZBYCXDWEVFUGTHSIRJQKPLO
AZBYCXDWEVFUGTHSIRJQKPLOMN