Question: C1= 43 C2= 15 Program must be written in C language ( not in C++) Q.No.4 (CLO_4): (Cognitive Level C3, i.e., Applying) (PLO_3: Design/Development of

C1= 43
C2= 15
Program must be written in C language ( not in C++)
Q.No.4 (CLO_4): (Cognitive Level C3, i.e., Applying) (PLO_3: Design/Development of Solutions) (10 Marks) A large chemical company pays its sales staff on commission basis. They receive $C3 per week plus 9% of their gross sales for that week. For example, someone who sells $5000 of chemicals in one week will earn $C3 plus 9% of $5000, a total of $450+$C3. Construct a C program that will input each salesperson's sales for the previous week, and print out their salary. Process one person's salary at a time. Where C3=$200+C1+C2 Sample Output: Enter sales in Dollars (-1 to end): 5000.00 Salary is: 686.00 Enter sales in Dollars (-1 to end): 00.00 Salary is: 236.00 Enter sales in Dollars (-1 to end): 1088.89 Salary is: 334.00 Enter sales in Dollars (-1 to end): -1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
