Write a program to compute salesman commission on the following basis:
Sales(Rs)
Commission
1 - 100000
15%
100001 - 200000
25%
Above 200000
Answers
Answered by
5
Answer:
✍️Here is your answer:--
class CalculateCommission
{
public static void main(String arg[])
{
double amount=100000,commissionPercentage=15;
double commission=(commissionPercentage/10000)*amount;
System.out.println("Commission amount="+commission);
}
}
HOPE IT'S HELP YOU✌️
Similar questions
Math,
2 months ago
History,
2 months ago
Social Sciences,
5 months ago
Math,
11 months ago
Hindi,
11 months ago
Political Science,
11 months ago