private void PLAN_DE_PAGO_CREDITO() {
int cntCuotas = 14;
int totalVrCredito = 1.400.000;
DefaultTableModel tableModel = (DefaultTableModel) TB_PLAN_PAGO.getModel();
for (int i = 1; i <= cntCuotas ; i++) {
int valorCuota = totalVrCredito/cntCuotas;
totalVrCredito = totalVrCredito - valorCuota;
// System.out.println("Letra No: "+i+" -
ValorCuota: $ "+valorCuota);
System.out.println("Letra No: "+i+" -
ValorSaldoCuota: $ "+totalVrCredito);
}
}
hello good day, maybe not a very relevant issue and that should be placed here apologies if so. But I have already tried to do it on my own and it did not work for me and for that reason I came to you who can help me thank you very much.