jeudi 29 avril 2021

Would you use an if else statement [closed]

I am looking to tackle this question but was wondering how would you go about it. I was thinking an if else statement, would this be the best way to tackle this question. Any suggestions would be great help.

A manager pays his sales staff commission according to the following rules:

1-5 clients: £15 6-10 clients: £30 11-15 clients: £45

how would you go about tackling this problem to ensure the sales staff are paid the correct amount.

Any suggestions would be much appreciated.

Aucun commentaire:

Enregistrer un commentaire