#include #include void main () { float Bedrag; float Interest; int Jaar; int i; // teller : aantal jaar cout << setiosflags ( ios :: fixed); cout << "Inleg :\t\t"; cin >> Bedrag; cout << "aantal jaar \t"; cin >> Jaar; cout << "Interestvoet:\t"; cin >> Interest; Interest /= 100; cout <<"\n\n" <<"Jaar\t"<< "Bedrag\n\n"; for (i = 1; i<=Jaar; i++) { Bedrag *= (1+Interest); cout << i<< "\t" ; cout << setprecision(2) << Bedrag << endl; } }