Cronograma
Hola experto tengo un problema este prog. corre muy bien el problema es como hacer con las fechas que le tocaria pagar por ejemplo si el prestamo es el 26/08 el siguiente 26/09, 26/10, 26/11, 26/12 puede ayudarme a genera estas fechas gracias
use cronograma
r=0.035
c=500
t=6
i=c*r
a= i / ((1+r)^(t)-1)
cuo=a+i
? Cuo
?" It-Sald Cap - Amortiza- interes - cuota"
FOR it=1 TO t
a=cuo-i
c=c-a
? ALLTRIM(STR(it))+" "+alltrim(STR(c,12,2))+" "+ALLTRIM(STR(a,12,2))+" "+ALLTRIM(STR(i,12,2))+" " +ALLTRIM(STR(cuo,12,2))
append blank
replace item with it
replace fecha with " no se que hacer"
replace saldo_cap with c
replace capital with a
replace interes with i
replace cuota with cuo
I=c*r
ENDFOR
use cronograma
r=0.035
c=500
t=6
i=c*r
a= i / ((1+r)^(t)-1)
cuo=a+i
? Cuo
?" It-Sald Cap - Amortiza- interes - cuota"
FOR it=1 TO t
a=cuo-i
c=c-a
? ALLTRIM(STR(it))+" "+alltrim(STR(c,12,2))+" "+ALLTRIM(STR(a,12,2))+" "+ALLTRIM(STR(i,12,2))+" " +ALLTRIM(STR(cuo,12,2))
append blank
replace item with it
replace fecha with " no se que hacer"
replace saldo_cap with c
replace capital with a
replace interes with i
replace cuota with cuo
I=c*r
ENDFOR
1 Respuesta
Respuesta de ingesoft
1