Use functions and submodules as appropriate to allow a user to create an interesting display of text.
Question:
Use functions and submodules as appropriate to allow a user to create an interesting display of text. The user should enter a string of text and a character or characters to use as a border. The main program should call the submodules as follows:
● A submodule to get the user’s text selection
● A submodule to get the user’s symbol selection
● A submodule to allow the user to select a full border (to surround the text completely) or just a line of symbols either under or above the text.
● A submodule to display the result
Some sample inputs and output are as follows:
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: