Question
Create a program to display return address mailing labels. Of course, the output would normally be sent to the printer, but for this exercise we
Create a program to display return address mailing labels. Of course, the output would normally be sent to the printer, but for this exercise we want to display the labels on the screen. You will want to use getline() to read in an entire line from the keyboard, and use your manipulators [particularly setw()] to format the labels three across and five down, like so. (There will be some inefficient redundancy in the program, but until we learn loops, that can't be helped.) Show me what you have learned!
Note: This is how the format should look, but the user will determine the actual data entered.
(I also recommend keeping each field width around 25-27 characters or see to keep the output from appearing distorted.)
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