Question: Write a program to calculate the percentage discount on a total purchase. The user will be prompted for a total purchase cost and a discount.

Write a program to calculate the percentage discount on a total purchase.

The user will be prompted for a total purchase cost and a discount. The program will then display the cost minus the discount.

Write a program to calculate the percentage discount on a total purchase.

Grade Criteria

Formatting - 20% Organization - 20% Syntax - 30% Program Completeness - 30%

Its C++ programming language in Programming Fundamentals. Thank you for your help!

Enter your total purchase to calculate discount: 197.99 Enter the discount percent: 15 Your Grand Total is: $168.29 You saved... $29.70

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!