Question: Using IF and ELSE IF statements, create two new variables as follows: Grade (numeric), with a value of 6 if the Age is 12, and
Using IF and ELSE IF statements, create two new variables as follows:
Grade (numeric), with a value of 6 if the Age is 12, and a value of 8 if the Age is 13.
Then create another variable named quiz grade. quiz grades have numerical equivalents as follows:
A = 95, B = 85, C = 75, D = 70, and F = 65.;
data school;
input Age Quiz: $1. Midterm Final;
*/ your statement here/*
datelines;
12 A 92 95
12 B 88 88
13 C 78 75
13 A 92 93
12 F 55 62
13 B 88 82
Step by Step Solution
3.45 Rating (165 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
