Question: Instructions To make a profit, a local store marks up the prices of its items by a certain percentage. Write a C + + program
Instructions
To make a profit, a local store marks up the prices of its items by a certain percentage.
Write a C program that reads:
The original price of the item sold
The percentage of the markedup price
The sales tax rate.
The program then outputs:
The original price of the item
The percentage of the markup
The stores selling price of the item
The sales tax rate
The sales tax
The final price of the item.
The final price of the item is the selling price plus the sales tax.
Since your program handles currency, make sure to use a data type that can store decimals.
Task #: Correct output calculated and displayed
Test Feedback:
Status: FAILED!
Check:
Test: Test case
Reason: Unable to find in the program's output.
Enter the original price of the item: Enter the percentage of the markup: Enter the sales tax rate as a percentage: Original price of the item: $
Percentage of the markup:
Store's selling price of the item: $
Sales tax rate:
Sales tax: $
Final price of the item: $
Error : AssertionError Unable to find a number close enough to in the program's output.
Timestamp: ::
Status: FAILED!
Check:
Test: Test case
Reason: Unable to find in the program's output.
Enter the original price of the item: Enter the percentage of the markup: Enter the sales tax rate as a percentage: Original price of the item: $
Percentage of the markup:
Store's selling price of the item: $
Sales tax rate:
Sales tax: $
Final price of the item: $
Error : AssertionError Unable to find a number close enough to in the program's output.
Timestamp: ::
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
