8
answers
1
watching
552
views

Write a C++ program that will prompt the user for quantity 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.
b. A 5% discount is deducted before the vat calculation if the customer is buy items worth
GHc 500.
c. A 10% discount is deducted before the vat calculation if the customer is buy items worth
GHc 1000.
d. A 15% discount is deducted before the vat calculation if the customer is buy items worth
GHc 1500.
e. The quantity of items is printed.
f. The unit price is printed.
g. The price with tax excluded is printed.
h. The total amount payable by the customer is printed.
i. The vat amount is printed.
j. The discount amount is printed.

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Avatar image
Liked by robertofosu58 and 3 others
Already have an account? Log in

Weekly leaderboard

Start filling in the gaps now
Log in