0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
1 Posted Topic
Re: hi folks, The single = sign is not for condition checking it is for assignment. for condition checking should use "==" if (sales <= 0 && commission == -1); else if (sales <= 10000 && commission == sales * 0.2); else if (sales <= 40000 && commission == sales * … |
The End.