Computer Science, asked by surbhirai033, 5 months ago

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 llyaduveerll
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