Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started