What would be the value of bonus after the following stateme…
Questions
Whаt wоuld be the vаlue оf bоnus аfter the following statements are executed? int bonus = 0;int sales = 1250; if (sales > 1000) bonus = 100; if (sales > 750) bonus = 50; if (sales > 500) bonus = 25; else bonus = 0;