Question: Submit a zip or rar file containing the following two file. Dev - C + + file with the running code Question The owner of

Submit a zip or rar file containing the following two file.
Dev-C++ file with the running code
Question
The owner of a shop in your neighborhood needs an invoice generation program. You are required to write a C++ program that will prompt the user for the quantity of one type of items bought and the unit price and print the Invoice. The program should be such that:
a. The user can enter a tax percent (VAT).
[3 marks]
b. A 5% discount is deducted before the vat calculation if the customer is buying items worth over GHc 500.[3 marks]
c. A 10% discount is deducted before the vat calculation if the customer is buying items worth over GHc 1000.
[3 marks]
d. A 15% discount is deducted before the vat calculation if the customer is buying items worth over GHc 1500.
[3 marks]
e. The quantity of items is printed.
[3 marks]
f. The unit price is printed.
[3 marks]
g. The price with tax excluded is printed.
[3 marks]
h. The discount amount is printed.
[3 marks]
i. The vat amount is printed.
[3 marks]
j. The total amount payable by the customer is printed.
[7 marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!