- 2
a program is required to calculate an employee net salary from the gross pay. the net salary is given by gross pay less deductio
Can some help with the question then represent the code in C program
2 Réponses
+ 1
"Can some help with the question?"
Yes, but for the next question,
"Represent the code in C"
You need to put an effort in trying to write the code. The community helps you out when they see what is the problem in your tryout code, not necessarily provide you a complete solution.
0
A program is required to calculate an employee’s net salary from the gross pay. The net salary is given by gross pay less deductions. Deductions include: 25% of gross pay as tax, KSh.250 as NSSF contribution and KSh.320 as NHIF contribution.
a) Design an algorithm (flowchart OR pseudocode) to illustrate this program (5 Marks)
b) Implement the above program in C