Posts
 
Reputation
Joined
Last Seen
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
0 Endorsements
Ranked #107.55K
Ranked #4K
~205 People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for muhd.hadziq

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 * …

Member Avatar for muhd.hadziq
0
205

The End.