Write a program that will compute for the saleman's commission based from his total sales for the month. if total sales is Commission is above 0 but below 10,000 at least 10,000 but below 25,000 5% of total sales of total sales at least 25,000 but below 50,000 10% of total sales at least 50,000 but below 75,000 13% of total sales at least 75,000 but below 100,000 15% of total sales at least 100,000 otherwise 25% of total sales Input salesman's name and his total monthly sales. Print the computed commission.
Write a program that will compute for the saleman's commission based from his total sales for the month. if total sales is Commission is above 0 but below 10,000 at least 10,000 but below 25,000 5% of total sales of total sales at least 25,000 but below 50,000 10% of total sales at least 50,000 but below 75,000 13% of total sales at least 75,000 but below 100,000 15% of total sales at least 100,000 otherwise 25% of total sales Input salesman's name and his total monthly sales. Print the computed commission.
Chapter2: Using Data
Section: Chapter Questions
Problem 13PE
Related questions
Question
C program
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
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.Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning