Question
Write a program that uses a stack to undo changes to the editing of a banner. Allow the user to choose from menu choices to
Write a program that uses a stack to undo changes to the editing of a banner. Allow the user to choose from menu choices to create a new banner logo, display logo, and undo logo. Anytime the user chooses to create a new banner then enter the banner text and store it on a stack. If the user selects to undo the logo, then the previous logo will be displayed. As the user selects to keep undoing the banner entries, then the program backs through all the earlier banner entries one at a time. To display the current banner, select the display logo option.
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