write a simple programm in C (tax calculating)

I WOULD LIKE TO CREATE A SIMPLE PROGRAMM THAT CALCULATE TAXES according to the ARRAY BELOW:

ΤΑΧ % ΤΑΧ ΒASE (in Euro)
0 Income until 19 500
20% 19501 – 28000
25% 28001 – 36300
30% 36301 and above

We want to calculate and have the followinf printouts :
1. Give the yearly salary for which you want tax to be calculated for:
2. The salary must take a value betweeen (0.....200000) - If not we must take a message (Value out of range. Give value again)
3. Results must be:
a. You will have to pay ....... euros for tax
b. Your tax free salary is ....... euros per year
c. This corresponds to ....... euros per month


thanks
good luck with that
good luck with that
Can anyone help to provide me solution
No problem, this site has all you need.
www.cprogramming.com/tutorial.html
Well i'm not going to write a complete program for you, but i'll help you a bit (in the easiest part that is). I'll mail you if you can give me your e-mail address.
Last edited on
Topic archived. No new replies allowed.