A company would like to provide bonus to his customers. Here are the rules generated by customer service manager:
(1)If a customer enrolled any plan of the company before 01/01/1990,s/he will get a.1,000 basic points per customer b.50 points for each month before 1990 c.35 points for each month in and after 1990 (until 01/01/2021)
(2)If a customer enrolled any plan of the company in or after 01/01/1990, s/he will get a.500 basic points per customer b.35 points for each month in and after 1990 (until 01/01/2021) bonus points cash redeem <=1,000 $20 1,001 - 3,000 $30 3,001 - 7,000 $50 7,001 - 10,000 $80 10,001 or above $100
TRY YOUR CODE FOR FOLLWING DATA SET AS AN EXAMPLE
A001 09/12/81 B016 10/31/78 C482 01/28/90 D136 05/10/95 E385 10/10/91 */
... View more