Ask yourself (play compiler):
Data Grades;
Input Score;
ID = _N_;
IF 0 LE Score LT 65 THEN Grade='F';
ELSE IF 65 LE SCORE LT 70 THEN Grade='D';
ELSE IF 70 LE SCORE LT 80 THEN Grade='C';
ELSE IF 80 LE SCORE LT 90 THEN Grade='B';
ELSE IF SCORE GE 90 THEN Grade='A';
Datalines;
- Where is the first place that the variable ID is encountered?
- Is it character or numeric?
- What is its length? (The number of bytes of storage used on disk for each value?)
- Where is the first place that the variable GRADE is encountered?
- Is it character or numeric?
- What is its length?