Question
We need a program that prints the banner character for every upper-case letter of the alphabet. In this version, you will only implement the functionality
We need a program that prints the banner character for every upper-case letter of the alphabet. In this version, you will only implement the functionality for E and nothing else. The program should prompt the user for a letter of the alphabet and process that letter. If the letter is E, the program should display the pattern given later. For all other letters, the program should display the message
X not yet implemented
Enter letter E
EEEEEEEEEEEEEEE
EEEEEEEEEEEEEEE
EEEEEEEEEEEEEEE
EEE
EEE
EEE
EEEEEEEE
EEEEEEEE
EEEEEEEE
EEE
EEE
EEE
EEEEEEEEEEEEEEE
EEEEEEEEEEEEEEE
EEEEEEEEEEEEEEE
Enter letter A
A not yet implemented
Enter letter Z
Z not yet implemented
Enter letter w In here, you should draw the major parts of the flowchart. For printing the banner character, the program should simply have print statements of the following kind: print(E, end = )
print() That is, either print a single E or skip the line. 1. Come up with an outline of an approach for solving the problem.
2. Draw the flow chart for the entire program with the details of the steps for drawing the E ommitted.
3. how would you use nested for loops to draw an E. sketch it using pseudocode.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started