. 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
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
Environmental Sciences,
15 days ago
Science,
15 days ago
World Languages,
1 month ago
English,
1 month ago
Hindi,
9 months ago
Math,
9 months ago