CSC 270 - A First Course In Computer Programming

Assignment #20 - How high is your income tax?

Due Friday, December 8, 2017

We have already learned how to calculate gross pay.The formulas are:

For hours <= 40 	gross = rate * hours
For hours > 40 		gross = rate * 40 + 1.5 * rate * (hours - 40) 

Write a program in Scheme that uses the previously defined program and print one of three messages:

Gross PayMessageInches
<= 150no-tax
<= 250low-tax
> 250high-tax

You should type in the interactions windows

(fed-tax 40 10)
and get a response
'High-tax

[Back to the Assignments Index]