Display the original item price and sales tax amount


Discuss below in C only:

// use user-defined functions
// (calculates different sales tax based on an item price)

1. Ask the user to enter the price of an item.

2. Get the item price from the user.

3. Calculate the sales tax of the item:
- 6.5% if the item costs less than $100.
- 5% if the item costs $100 or more.

4. Display the original item price and sales tax amount onto the screen.

5. Calculate new cost of the item with the sales tax.

6. Display the total price of the item onto the screen.

 

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Display the original item price and sales tax amount
Reference No:- TGS01936102

Now Priced at $25 (50% Discount)

Recommended (90%)

Rated (4.3/5)