Answered step by step
Verified Expert Solution
Question
1 Approved Answer
XYZ company has a product line that includes five items that sell for Rs. 100, Rs.500, Rs.700, Rs.250 and Rs. 150. This company hired three
XYZ company has a product line that includes five items that sell for Rs. 100, Rs.500, Rs.700, Rs.250 and Rs. 150. This company hired three salespersons, and the sales report for regular work per week is shown in the table below (The integers in the table indicate the number of items sold). B Salesperson Number S1 S2 S3 A 10 7 3 4 0 Item Id D 5 6 12 1 1 5 E 7 3 6 2 Write a Java program to perform the following: (i) Compute the total amount sales of each salesperson (ii) Compute the total commission for each salesperson if the commission rate is 10% (iii) Find the total income for each salesperson for the week if each salesperson receives a fixed salary of Rs. 3000 per week in addition to commission payments. (iv) Write all the information into the file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started