123,380 views
1 vote
1 vote
Write an if statement that assigns 0.2 to commission if sales is greater than or equal to 10000.

User DrGeneral
by
2.0k points

1 Answer

23 votes
23 votes
if (sales >= 10000)
commission = 0.2;
User James Musser
by
3.2k points