ES085 Computer Programming 1 Course Number Course Title Topics Covered: Switch and if-else if selection structure Implement a program using (combine the use of ) the if-else if and switch() selection structure. Objectives: Description Write a program that will compute for the saleman's commission based from his total sales for the month. Commission is 2% of total sales 5% of total sales if total sales is above 0 but below 10,000 at least 10,000 but below 25,000 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. Sample Output if Applicable

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

 

 

CIT ESO85 X
4 Progra X
E ES085
E ES085 X
A ES085 X
A ES085 X
ES085 X
f Faceb X
Ь Enter
b Answe X
O snail
G how t
b Answe X
Answe X
Faceb X
M John X
b My Q x
->
A docs.google.com/document/d/1fyMxFgd1xTNTB8UUdLgc0cthPjFvXchk/edit
My Questions bartleby
ESO85_exer1_3 .DOCX
* Share
Request edit access
J
File Edit View Tools Help
Computer Engineering Department
Laboratory Activity Form
Course Number
ES085
Course Title
Computer Programming 1
Topics Covered:
Switch and if-else if selection structure
Implement a program using (combine the use of ) the if-else if and
switch() selection structure.
Objectives:
Description
+
Write a program that will compute for the saleman's commission based from his total sales for
the month.
Commission is
2% of total sales
5% of total sales
if total sales is
above 0 but below 10,000
at least 10,000 but below 25,000
at least 25,000 but below 50,000
at least 50,000 but below 75,000
at least 75,000 but below 100,000 15% of total sales
at least 100,000
otherwise
10% of total sales
13% of total sales
25% of total sales
Input salesman's name and his total monthly sales.
Print the computed commission.
Sample Output if Applicable
CA Z:ICCS121G4\L13382~1\EXER14.EXE
Enter salesman's name: Edwar I. Tee
Input his Total Sales for the Month: 6512345
TOTAL COMMISSION is 1628086.25
Remarks
Filename : EXER3.C
Lab. Instructor/Teacher:
2:27 AM
DEV
O Type here to search
9/11/2021
近
Transcribed Image Text:CIT ESO85 X 4 Progra X E ES085 E ES085 X A ES085 X A ES085 X ES085 X f Faceb X Ь Enter b Answe X O snail G how t b Answe X Answe X Faceb X M John X b My Q x -> A docs.google.com/document/d/1fyMxFgd1xTNTB8UUdLgc0cthPjFvXchk/edit My Questions bartleby ESO85_exer1_3 .DOCX * Share Request edit access J File Edit View Tools Help Computer Engineering Department Laboratory Activity Form Course Number ES085 Course Title Computer Programming 1 Topics Covered: Switch and if-else if selection structure Implement a program using (combine the use of ) the if-else if and switch() selection structure. Objectives: Description + Write a program that will compute for the saleman's commission based from his total sales for the month. Commission is 2% of total sales 5% of total sales if total sales is above 0 but below 10,000 at least 10,000 but below 25,000 at least 25,000 but below 50,000 at least 50,000 but below 75,000 at least 75,000 but below 100,000 15% of total sales at least 100,000 otherwise 10% of total sales 13% of total sales 25% of total sales Input salesman's name and his total monthly sales. Print the computed commission. Sample Output if Applicable CA Z:ICCS121G4\L13382~1\EXER14.EXE Enter salesman's name: Edwar I. Tee Input his Total Sales for the Month: 6512345 TOTAL COMMISSION is 1628086.25 Remarks Filename : EXER3.C Lab. Instructor/Teacher: 2:27 AM DEV O Type here to search 9/11/2021 近
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education