Debugging results
Correct the results
The main code
BigDecimal t1=new BigDecimal (" 80000 ");//l
BigDecimal t2=new BigDecimal (" 0.06 ");
for(int i=0; i<10; I++)
{
T1=t1. The add (t2) multiply (t1));//t1 + (t2 * t1)
}
System. The out. Println (t1);
BigDecimal t1=new BigDecimal (" 80000 ");//l
BigDecimal t2=new BigDecimal (" 0.06 ");
for(int i=0; i<10; I++)
{
T1=t1. The add (t2) multiply (t1));//t1 + (t2 * t1)
}
System. The out. Println (t1);