Computer Science Homework Help

University of Houston Computer Science Customer Account Programm Project

 

  1. Customer Account (Chapter 13 Advanced I/O Gaddis 7th edition, page 898 )

Design a generic class or structure to store the following information about a customer account:  

  • Name
  • Address
  • City , State , and Zip
  • Telephone Number
  • Account balance
  • Date of last payment

The class or structure  should be used to store customer account recors in a file.  The program should have a menu that lets the user perform the following operations:

  • Enter new records into the file
  • Search for a particular customer’s record and display it.
  • Search for a particular customer’s record and delete it.
  • Search for a particular customer’s record and change it.
  • Display the contents of the entire file

Input validation:  When the information for new account is entered, be sure the user enters data for all the fields.  No negative account balance should be entered.