Question: Write a program that takes a number between 1 and 26 (There are 26 letters in the English alphabet) from the user (console screen) and

Write a program that takes a number between 1 and 26 (There are 26 letters in the English alphabet) from the user (console screen) and create the reverse triangle composed of the capital letters in reverse order from last letter to the letter 'A'. Examples are given for you to understand the pattern correctly. Note that a verbose answer that checks all 26 possibilities is not accepted! You should provide a smart and short way. For example: Input Result 4 DDDDDDD ccccc A 7 G G G GG GG G GG G GG F FF FF FF FF F DDDDDDD CCCCC BBB
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
