224k views
3 votes
Write an if statement that assigns 0.2 to commission if sales is greater than or equal to 10000.

1 Answer

3 votes
if (sales >= 10000)
commission = 0.2;
User Abhin Krishna KA
by
5.0k points