Question: Solve in C language ( using if else) Q1. The Students' Corner Store in a university needs a program to implement its students' discount policy.

Solve in C language ( using if else)
Solve in C language ( using if else) Q1. The Students' Corner

Q1. The Students' Corner Store in a university needs a program to implement its students' discount policy. The program is to prompt the user to enter the purchase total and to indicate whether the purchaser is a student. Students are eligible to receive a 20% discount on all their purchases. The discount calculation, however, must be done before addition of the 5% sales tax. This is done to ensure that the discount is not applied to the sales tax. Here are two sample output files - one for a student purchaser and one for a nonstudent purchaser. Total purchases: $ 122.00 Student's discount (20%:: 24.40 Discounted total: 97.60 Sales tax (5%): $ 102.48 Total purchases: $ 24.90 Sales Tax (5%): 1.25 Total: $ 26.15

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!