#include <stdio.h> #include <conio.h>
int main() { double amount=100.0; register int i,j; for(i=1;amount<=2*100.0;amount*=1+0.11,j=i++); printf("%d year(s).\n",j); getch(); return 1; }