Hi i ran the below codes and they gave me different outputs.i wanted to check how many years it will take for $100 at 3.75% int per annum to double? For do: Data x; Int =0.375; Total=100; Do total= 100 to 200; Year+1; Total= total +int*total ; Output; end; Run; this gave 16 obs While same query , changing do statement to do until(total ge 200) The result changed to 19 obs. Can someone explain what is the logic behind it? Really appreciate your help.
... View more