Question: In this lab, you write a C# program as follows: Create a program that calculates the final bill of a customer after discounts. Follow the

In this lab, you write a C# program as follows:
Create a program that calculates the final bill of a customer after discounts.
Follow the Console (below) for a sample run.
Specifications
Use decision structure in your solution.
Consider the case the user enters an invalid letter (other than A or B) in which the program displays a message to warn the user of the invalid entry then the program exits.
The formulas to calculate the final bill for customers A and B:
Customer A: bill = purchase amount -(purchase amount *0.35)+( purchase amount *0.13)
Customer B: bill = purchase amount -(purchase amount *0.25)

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!