Academic Help Online

Write a modular C++ program that will define 1.a constant sales tax rate of 9.5% 2.a customer structure to hold the customer information contained in the file 3.an inventory structure to hold the inventory information contained in the file 4.a purchase structure to hold an inventory number and an integer quantity 5.an invoice structure to hold an invoice date, a customer number as an integer, a pointer to an array of purchase structures, a subtotal, a sales tax amount and a total

read 1.the customer data from the customers.txt file into a dynamically allocated array 2.the inventory data from the inventory.txt file into a dynamically allocated array

provide the following options to the user 1.generate invoices based on purchase data in the purchases.txt file read purchases data from purchases.txt into a dynamically allocated array create a separate file for each customer with each file containing a printable invoice the filename should be generated using the date of the purchase as well as the customer’s number in the format

update each customer’s balance display the overall total amount of sales as well as the sales tax incurred to the screen

2.display customer data in order by either customer number or alphabetically, user’s choice 3.display inventory data in order by either inventory number or alphabetically, user’s choice 4.exit program

READ ALSO :   What specific events and ideas influences Thomas Jefferson when he wrote the Declaration of Independence? How are these influences manifested in the Declaration of Independece?