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:

Text: Pat's Premium Pastry Symbol(s): Border style: full border Display:   Pat's Premium Pastry

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: