Hard
Business Card
Read a name, a job and a city (one per line). Print a card: a border of
= as wide as the longest line plus 4, then each line as | text | padded with spaces on the right, then the border again.Input
Three lines.
Output
Five lines.
Sample 1
Input
Mim Rahman Teacher Dhaka
Output
============== | Mim Rahman | | Teacher | | Dhaka | ==============
Sample 2
Input
A B C
Output
===== | A | | B | | C | =====
Output appears here