Q3
clc clear all
anapara = 100000;
for ay = 1:12 if anapara <= 110000 faiz = 0.01; elseif anapara <= 125000 faiz = 0.015; else faiz = 0.02; end
anapara = anapara * (1 + faiz); getiri = anapara * faiz; anapara = anapara + 1000;
fprintf('%2d. ay icin getiri: %6.2f; faiz orani: %4.3f ve anapara: %8.2f\n', ay, getiri, faiz, anapara); end