Design an application that reads records that contain a


Exercises #1

The Vernon Hills Mail Order Company often sends multiple packages per order. For each customer order, output a mailing label for each box to be mailed. The mailing labels contain the customer's complete name and address, along with a box number in the form Box 9 of 9. For example, an order that requires three boxes produces three labels: Box 1 of 3, Box 2 of 3, and Box 3 of 3. Design an application that reads records that contain a customer's title (for example, Mrs.), first name, last name, street address, city, state, zip code, and number of boxes. The application must read the records until eof is encountered and produce enough mailing labels for each order.

This is about file streaming, make a text file with any number of:

first name, last name, street address, city, state, zip code, box#

Then make a code that will collect that information from the file, split it apart and identify each one in a variable then output (since it's a class in assuming you do not need to print actual labels) that text as many times necessary (box#):

first name, last name, street address, city, state, zip code, 4

being 4 box's you would output it 4 times.
'eof' is end of file, that suggests each section of information in the file should be on its own line:

first name, last name, street address, city, state, zip code, box#
first name, last name, street address, city, state, zip code, box#
first name, last name, street address, city, state, zip code, box#

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Design an application that reads records that contain a
Reference No:- TGS02564085

Expected delivery within 24 Hours