Assign8S09

Assign8S09 - Assignment #8 Due: March 27, 2009 (11:59 pm...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Assignment #8 Due: March 27, 2009 (11:59 pm submitted electronically) You are asked to develop a solution and design a C++ program to maintain customer, address, and product purchased information using a new class named shopping cart. To make the new class use the classes you designed in the previous assignments or design new ones. 1) Design a class named Customer that declares variables to hold the following data fields about a customer: ID number (8 digit number), Bill amount (float), and name (it may contain several words separated by spaces maximum 25 characters long). 2) Design a class named Address to maintain an address; the data kept is Street address, City, State, and a zip code. 3) You need to design a class that declares variables to hold the following data fields describing an inventory item: Item number (8 digit number), quantity on hand, unit price, and item name (it may contain several words separated by spaces maximum 25 characters long). Use the following data stored in a file to test your program:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/03/2009 for the course CSCI 101L taught by Professor Ghyam during the Spring '07 term at USC.

Ask a homework question - tutors are online