CSC 160 Spring 2015 - CW6
Assigned T 4/21 4:50pm, Due at end of class


DIRECTIONS
1) In the spirit of the pair programming article that you read and summarized in HW5, you may do this assignment in pairs of two students. Do not pair up with the same student as any of the previous CW or HW assignments!
2) You must follow the Design Recipe in order. Do not start any step until you have completed all previous steps!
3) You need to submit one copy of your Definitions Pane through Moodle with the filename "cw6LASTNAMESdef.rkt". Make sure both names appear as a comment at the top of the Definitions Pane.


THE ASSIGNMENT
[30 pts.] Exercise 15.3.1 from the textbook.
[extra credit-30 pts.] RacketCard pays back 1% of the first $2000 you charge in a given year and 2% of anything you charge over $2000. Develop a function cash-back that takes in the amount you charged on your RacketCard during the year and returns the amount of "cash back" the credit card gives you at the end of the year.



GRADING
Question Point Value
15.3.1 30
Contract 2
Purpose 1
Data Analysis 5
Examples 5
Skeleton 2
Inventory 2
Add details 3
Function 10
X-CR +30
TOTAL 30 (+30)




Last Modified: 4/21/15