Assign7S09

Assign7S09 - 11122233 456.89 Joe Smith Jr. 3) Design a...

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

View Full Document Right Arrow Icon
Assignment #7 Due: March 27, 2009 (11:59 pm submitted electronically) You are asked to develop a solution and design a C++ program to maintain customer and address information. 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) Write a driver program to test the customer class by reading data for one object from a file and store them in the object and display them to the monitor. Use the following data stored in a file to test your program: (ID, Bill amount, name)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 11122233 456.89 Joe Smith Jr. 3) Design a class named Address to maintain an address; the data kept is Street address, City, State, and a zip code. Use the following data stored in a file to test your program: (Street address, City, State, Zip ) 256 E. Broadway Los Angeles CA 90089 4) Write a driver program or modify the one you have to test the address class by reading data for one object from a file and store them in the object and display them to the monitor. 6) Make sure the classes are separated into header, and implementation files....
View Full 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