Question: C# programing Write a program the calculates the total cost a user will purchase and determine if they qualify for a discount. In order to

C# programing

Write a program the calculates the total cost a user will purchase and determine if they qualify for a discount. In order to do this, write the following series of statements:

  • Declare three variables of type double.
  • Collect input to be read into those three variables.
  • Calculate the total cost and display the result in currency format.
  • Determine if customer can get a discount. The message "Eligible for 10% Discount" will display if the total cost is greater than or equal $100.00. If customer is not elgible, then the message will not be displayed.

Note: Include these statements inside a main method definition! Assume the system and system.console namespace was already declared.

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!