Computer Science, asked by yshanmukhasrikrishna, 1 month ago

. A salesman earns a commission on the value of his sales as per the following table. Value of sales(Rs.) Commission(%) 1 - 999 1 1000 - 9999 5 10000 - 99999 10 Write a program to calculate and print the commission using sale value as input. The program is to keep on calculating t for various salesmen until a sales value zero is input.

Answers

Answered by QpihuQ
2

Answer:

Create a class Sales that has TotalSales (double), Commission (double), CommissionRate (double), and NoOfItems (Integer). Then write a java application that asks the user to enter the Total Sales and the number of items the calculate the commission and print it out.

Similar questions
Math, 9 months ago