Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions

Question

b. Why were these values considered important?

Answered: 1 week ago