Create a program to display return address mailing labels. Of course, the output would normally be sent
Fantastic news! We've Found the answer you've been seeking!
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 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.)
Posted Date: