BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
mary987
Calcite | Level 5

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
*/

1 ACCEPTED SOLUTION
4 REPLIES 4
mary987
Calcite | Level 5

I do not know how to solve it at all:(

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 957 views
  • 0 likes
  • 2 in conversation