- Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
data work.retire;
Savings=?
Income=?
do ?
Year+1;
income+income*.04;
savings+income*.10;
end;
run;
Complete the DATA step by including a DO UNTIL statement to determine the
number of years until Savings reaches $1,000,000. Be sure to
enter initial amounts for Income and Savings .
-
Submit the DATA step and correct any errors; then print the data set.
Return here and select Next.
|