Write a program that will read the monthly salary of 10 employees and then calculates the income tax (i.e, 10% of the salary) and net salary. Hence you have to declare an array salary[10] [3]. Your...


Language C++


Write a program that will read the monthly salary of 10 employees and then calculates the<br>income tax (i.e, 10% of the salary) and net salary. Hence you have to declare an array<br>salary[10] [3]. Your program should have 4 functions. The first function will be used to<br>read monthly salary of 10 employees and put it in the first column of the array. The second<br>function will be used to calculate the income tax for each employee and then store it in the<br>second column of the array. The third function will be used to calculate the net salary of each<br>employee and store it in the third column of the array. Finally, the fourth function will be used<br>to display the gross salary, income tax and net salary for each employee. You must pass the<br>array as reference in each function you used.<br>

Extracted text: Write a program that will read the monthly salary of 10 employees and then calculates the income tax (i.e, 10% of the salary) and net salary. Hence you have to declare an array salary[10] [3]. Your program should have 4 functions. The first function will be used to read monthly salary of 10 employees and put it in the first column of the array. The second function will be used to calculate the income tax for each employee and then store it in the second column of the array. The third function will be used to calculate the net salary of each employee and store it in the third column of the array. Finally, the fourth function will be used to display the gross salary, income tax and net salary for each employee. You must pass the array as reference in each function you used.

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here