design a program that will read a file of sales


Design a program that will read a file of sales records and produce a sales report. Each record in the file contains a customer’s ID, name, a sales amount, and a validated GST code. The GST code is to be applied to the sales amount to determine the sales tax due for that sale, as shown below.

GST Code GST Rate
0
1
2 0%
5%
10%

The report is to print a heading “SALES REPORT”, and detail lines listing the customer’s ID, name,
sales amount, sales tax, and total amount due including sales tax.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: design a program that will read a file of sales
Reference No:- TGS0411294

Expected delivery within 24 Hours