Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A company changes the commission rate for sales reps depending on their total sales for the month. Their regular commission is 5% (.05). However, if

image text in transcribed
image text in transcribed
A company changes the commission rate for sales reps depending on their total sales for the month. Their regular commission is 5% (.05). However, if they sell at least $100,000, they get 7% (.07). Ask the user for the sales amount this month and then calculate how much to pay the sales rep this month.
Output 1:
Enter the sales amount for the month as a whole number, no commas or $: [assume user types: 125000]
You met the $100,000 sales goal for the month. Your commission is 7%
Your total commission on $125000 is: $8750
Output 2:
Enter the sales amount for the month as a whole number, no commas or $: [assume user types: 60000]
You did not meet the $100,000 sales goal for the month. Your commission is 5%
Your total commission on $60000 is: $3000
Hints and Notes:
1) Use an If/Else for this
2) The "100,000" portion of the output is a literal. I did not use the constant for this part of the output because I wanted to format the message nicely for the user.
1254-25-2017/ Che statements 3. Quesetion 3 - Overtime pay 25 points poss Wome a program that and an employee how many nou were worked the water. The base patate 512.50 / 1 (over 40, tre employee to be proses mex05 e bain feat QUE Fre the houswoned for the week as a whole number fener types 42 You World 2 over hours autotal pay this wo5537 OUR er the hours word of the week a whole et Yolo pay the week 5150 Nos There are many to do the wood you on 23DO NOT an for the Grading Fullscreen code.cpp 2 // CONSTANTS MD VALLALES // INPUT cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago