The Curl Up and Dye Beauty Salon maintains a master file that contai.docx

This preview shows page 1 - 3 out of 5 pages.

The Curl Up and Dye Beauty Salon maintains a master file that contains a record for each of its clients. Fields in the master file include the client s ID number, first name, last name, and total amount spent this year. Every week,a transaction file is produced. It contains a customer s ID number, the service received (for example, Manicure ), and the price paid. Each file issorted in ID number order. Design the logic for a program that matches the master and transaction file records and updates the total paid for each client by adding the current week s price paid to the cumulative total. Not all clients purchase services each week. The output is the updated masterfile and an error report that lists any transaction records for which no master record exists. start declarations �� inputfile masterfile �� ��� inputfile transfile �� ��� outputfile updatedfile �� ��� num masterID �� ��� string masterfirstname �� ��� string masterlastname

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture