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

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!