Search lessons

Type at least 3 characters to see matching lessons.

Advertisement
1 / 10
Generating Data with DO Loops
Question 1 of 10



In the following program, complete the statement so that the program stops generating observations when Distance reaches 250 miles or when 10 gallons of fuel have been used.

data work.go250;
    set perm.cars;
    do gallons=1 to 10 ... ;
        Distance=gallons*mpg;
        
output;
    
end;
run;




Saving progress… My progress
Advertisement