完全没有仔细看你的assignment,就看了一眼那个output,can be something like
void print_the_schedule(double principle, double rate, int term){
double a = principle;
double b = rate;
double c = term;
double monthly_payment = calculate_the_payment(a, b, c);//this method u need to write
system.out.println ("那些什么乱七八糟的title”);
//其实你已经有term了,用for loop就行
for (int i = 1; i <= c; i++) {
a = a*(1+b);
system.out.println (i+"some space"+a+"some space"+monthly_payment+"some space"+a-monthly_payment);
}
}