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 10% until the grade reaches 95 or higher. Use an IF statement to check if the grade exceeds 100, and if it does, reset it back to 100. Finally, print out the student's name and their final grade. Grading Scheme: Correct Use of Variable Declaration (2 Marks) Proper Use of DO WHILE Loop (2 Marks) Correct Implementation of IF Statement (2 Marks) Correct Syntax and Structure (1 Mark)----- data students; input Name $ Grade; datalines; John 85 Sara 78 Tim 90 Amanda 88 Steve 93 ; run;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!