Reply To: How many SAS do loops you know?

#49304
rlochan2021
Keymaster

do i = 1 to 5 by 0.5 while(y < 20); y = i**2; /* values are 1, 2.25, 4, ..., 16, 20.5 */ output; end;