[text] I'm trying to write a program for a tax return that will read a dollar amount and print out the correct tax . . . using the IF-ELSE function, I've written out most of the program, however, when it comes to that different tax percentages to use for the various income, i'm stuck :confused: . . . How would I go about writing it? Any help with this will be greatly appreciated. [/text]
post your code. let us c what you have.
also, if else is not a function. its a statement.
Okay, here's the code (I tried cutting and pasting the code but I couldn't get it go through):