Question: Write a C# program that takes four inputs from the user: the customer s last name, the meal cost, discount percentage, senior discount percent. Calculate

Write a C# program that takes four inputs from the user: the customers last name, the meal cost, discount percentage, senior discount percent. Calculate the total price of the meal after the discount. Use string interpolation with number of places, and the round function (you may google it!!) for outputs.
Subtotal price is before taxes
Final price is after taxes
The output will look like:
Customer invoice
Name: George
Cost: $107.35
Discount percent: 15%
Senior discount percentage 5%
Subtotal price: $85.88
Final price: $97.04

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!