Question: Write a SAS program that declares a variable for a student's grade and adjusts the grade using a DO WHILE loop. The program should increase
Write a SAS program that declares a variable for a student's grade and adjusts the grade using a DO WHILE loop. The program should increase each student's grade by until the grade reaches or higher. Use an IF statement to check if the grade exceeds and if it does, reset it back to Finally, print out the student's name and their final grade. Grading Scheme: Correct Use of Variable Declaration Marks Proper Use of DO WHILE Loop Marks Correct Implementation of IF Statement Marks Correct Syntax and Structure Mark data students; input Name $ Grade; datalines; John Sara Tim Amanda Steve ; run;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
