Design an algorithm to calculate the income tax and net salaries of employees | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Design an algorithm to calculate the income tax and net salaries of employees

Pinnacle Ltd requires a program to compute income tax and net salaries for its employees. The company offers tax relief of ksh 650 for single employees and ksh 1100 for married employees. The relief will be deducted from the gross salary to give the taxable income. The gross salary is the sum of basic salary, house allowance, medical allowance and commuter allowance.

8th Dec 2020, 5:43 AM
VINCENT WANDERA
VINCENT WANDERA - avatar
4 Answers
+ 5
This is a learning platform and I don't think asking others to do your homework assignment qualifies as learning.
8th Dec 2020, 5:46 AM
Arsenic
Arsenic - avatar
+ 2
If you can show us your attempts, we can help figure out what is working and what is not.
8th Dec 2020, 6:11 AM
Fermi
Fermi - avatar
0
Looks like I have a job opportunity. Thanks for letting me me know. =D
8th Dec 2020, 6:22 AM
Chris Coder
Chris Coder - avatar
- 1
I need answers guys
8th Dec 2020, 5:44 AM
VINCENT WANDERA
VINCENT WANDERA - avatar