Please use Visual Studio or Xcode to create a program that asks user giving you the amount of money customer has spent, your program will determine how much percent of discount the customer will receive: If the amount is more than $300, the discount is 30%; If the amount is more than $200 but less than $300, the discount is 20%; If the amount is more than $100 but less than $200, the discount is 10%; If the amount is less than $100, the discount is 5%; Based on the inputted amount value, your program will print out.  the discount percent,  the discount amount, the invoice total  You will be using C++ for this program

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 9E: Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a...
icon
Related questions
Question
  1. Please use Visual Studio or Xcode to create a program that asks user giving you the amount of money customer has spent, your program will determine how much percent of discount the customer will receive:

If the amount is more than $300, the discount is 30%;

If the amount is more than $200 but less than $300, the discount is 20%;

If the amount is more than $100 but less than $200, the discount is 10%;

If the amount is less than $100, the discount is 5%;

Based on the inputted amount value, your program will print out. 

  1. the discount percent, 
  2. the discount amount,
  3. the invoice total 

You will be using C++ for this program

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning