Question: c program not c++ Write a complete C program to compute the yearly income charity payment from N workers. Each worker will enter his/her name,

c program not c++ c program not c++ Write a complete C program to compute the

Write a complete C program to compute the yearly income charity payment from N workers. Each worker will enter his/her name, total income in a month and yearly bonus. Define 2.5% as the rate for charity payment. The program will only accept valid number of worker (not negative number) Requirements: 1. Declare up to 10 worker details in two arrays: name array and salary array (consist of income and yearly bonus) 2. Use a user-defined function to get data into the arrays 3. Use another user-defined function to calculate and display the yearly income and charity obligation for each worker. 4. Use any loop and selection structure, Sample output: Number of workers: 2 Worker 1 Enter name: Adam Monthly income: RM2000.00 Yearly bonus: RM500.00 Worker 2 Enter name: Katherine Monthly income: RM5000.00 Yearly bonus: RM1200.00 Name Adam Katherine Income (RM) 24500.00 61200.00 charity obligation(RM) 612.50 1530.00 Thank you. Press any key to continue

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!