Question: please write a program in c + + that Ask the user for the price of a phone and the number of phones he /
please write a program in c that Ask the user for the price of a phone and the number of phones heshe wants to purchase.
Calculate and display subtotal, tax amount, and total price.
Set the tax rate of as a constant value.
Note: Bold info is input from user. Make sure to give an error message if a negative number is inputted by the user. Do not forget to add comments to your code.
Sample Dialogue:
Price:
Number of phones:
Subtotal: $
Tax: $
Total: $
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
