0

Design an algorithm for the problem and write a c program to solve the problem

Rehema 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. Tax will then be computed as follows Taxable income Rate (%) Taxable income Rate% <5000 /0% 5000-10000 /6% 10001-19999 /9% 20000 -29999 /12% 30000-36999 /14% 37000 and above /16% The tax charged is then deducted from the gross income to give the net salary. Design an algorithm for the problem and write a c program to solve the problem

20th Jul 2018, 1:40 PM
Nickson Amos
Nickson Amos - avatar
8 Réponses
+ 2
You know that you can save your codes in 'Code Playground' section and post here his link? In this way you (and we if help you) can execute your code easly... Example: https://code.sololearn.com/c2CCM4ziXJKy/ This is your sample code formatted though i think that some code its missed, right?
20th Jul 2018, 7:28 PM
KrOW
KrOW - avatar
+ 1
Nickson Amos And this is an your assignements... What have you did for now? Post something, dont think that someone do it for you
20th Jul 2018, 1:43 PM
KrOW
KrOW - avatar
+ 1
Nickson Amos YOU have to do the work and ONLY if you encounter some problem on YOUR code, then after that you can open a question about YOUR problem...
20th Jul 2018, 2:16 PM
KrOW
KrOW - avatar
0
okay any other easy approach?
20th Jul 2018, 7:22 PM
Nickson Amos
Nickson Amos - avatar
0
krOW so far you havent helped in anywei rather youve only insinuated the rest not to assist..would you mind sending me a code by you,on the same?
22nd Jul 2018, 8:27 PM
Nickson Amos
Nickson Amos - avatar
0
Nickson Amos Listen, you have posted nothing beside a code that print something. Futhermore your "code" its bad posted because you have to save on "Code Playground" section then post his url here like i have did in example. Anyway if i have insinuated (and continue to do it) is because you continue to not post something that show your work on assignement. If you think that i dont want help you have to know that many users here can dimonstrate opposite, but im very contrary to who want make own assignements by others. Then start with post your work CORRECTLY (not copying in comments but saving it as i have did previously) else if you want continue in this way, i can simply ignore your request because i want help only who really have problem to understand and only if he/she place me in right position to help
22nd Jul 2018, 9:02 PM
KrOW
KrOW - avatar
0
I kindly request to see the answer
14th Jul 2019, 9:17 AM
Chabari Purity
Chabari Purity - avatar
0
Nickson did you get the answer we also require to know how u went about it
21st Apr 2020, 10:48 AM
Linus Mugera
Linus Mugera - avatar