|
Construct a simple DO loop. |
- Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
data work.earn;
Value=2000;
do year=?
Interest=value*.075;
value+interest;
?
run;
proc print data=earn;
run;
Complete the DATA step by constructing a DO loop to compute the total value
of Value earning 7.5% for 20 years.
-
Submit the program.
-
Note the value of
year in the Output window.
Return here and select Next.
|
Copyright © 2002 SAS Institute Inc.,
Cary, NC, USA.
All rights reserved.
Terms of Use & Legal Information
| Privacy Statement