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
*/
PS I edited your perfectly non-descriptive subject line
I do not know how to solve it at all:(
Start by writing a data step that reads your example data into a dataset.
PS I edited your perfectly non-descriptive subject line
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.