Question: Write a program to calculate how much a salesperson earns when his / her commission and basic salary are combined. If a salesperson sells above
Write a program to calculate how much a salesperson earns when hisher commission and basic salary
are combined. If a salesperson sells above R heshe earns commission, otherwise, heshe
earns no commission. The report prints each salesperson's number, gender, department number or
sales amount, basic salary and total salary.
The program must adhere to the following specifications:
The first input must be the salesperson number. If a number of is entered, a summary report is
printed.
If a salesperson number of is entered, the user must not be prompted for other information.
The gender of the salesperson can be either or
At the end of the report, print how many women work in each department.
Processing continues until a salesperson number of is entered.
For example:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
