Question: (a) Write three (3) syntaxes of if control statements with an example for each. (b) Write a C program to read the names and annual

(a) Write three (3) syntaxes of if control statements with an example for each. (b) Write a C program to read the names and annual sales amount of five (5) sales person, and calculate amount of incentive based on their annual sales amount as follows: RM 0 to RM 10,000 10% of sales amount, RM 1,000 to RM 20,000 - 20% of sales amount, RM 2,000 to RM 30,000 - 25% of sales amount
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
