tax rate program in c code