+ 4

I am reposting my sales commission code after editing.

It is working now. Please give me an upvote if you feel it is good. https://code.sololearn.com/cYc1A9t77Rnd/?ref=app

2nd Oct 2017, 5:00 AM
Miss Rashmi Lulla
2 odpowiedzi
+ 11
Beautiful code and works nice. Hope to see more code from you. As a little improvement, you can feed sales amount (also commission rate) with a random number generator. sale = min sale + rand() % (max sale + 1 - min sale)
2nd Oct 2017, 6:09 AM
Babak
Babak - avatar
+ 2
Thanks Babak.
2nd Oct 2017, 6:31 AM
Miss Rashmi Lulla