Write a program that takes as input lines of text like the following: This is some text

Question:

Write a program that takes as input lines of text like the following:

This is some

text here.

The program should produce as output the same text inside a box, as in the following:

-+ This is some | | text here. +- -+

Your program will have to assume some maximum line length (e.g., 12 in this case).

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: