Question
(a) Explain in details what are structures.
(b) Following explains how computation of commission is performed in an Electronic company.
(i) The price of one signal generator is Rs.20000.
(ii) Salesmen get a commission of 1 percent for each generator sold.
(iii) Salesmen get more than Rs.800 commission receive a bonus of Rs.100.
Write down a function calculate that will take as parameter the number of signal generators sold by a salesman and will return commission to be received by the salesman.