You’re still way off. Ignore the compiler errors and listen to my answers first, I guarantee it’ll solve most if not all of the problems. I’ll post the relevant answers again:
import java.util.Scanner;
// This isn’t an error, but you don’t need this line because you don’t use the Scanner object anywhere.
payment=principleBlance*(monthlyIntere…
// these variables haven’t been declared. Did you mean Principle and Interest, rather than principleBalance and monthlyInterest? Also check for missing semicolon at the end of the line.
System.out.println(“Principle=”amount)…
// need concatenation sign (+) in between “Principle=” and amount. Also check for a missing semicolon at the end of the line.
Systems.out.println(“Interest rate=”+INTEREST*100);
// You put “Systems” instead of “System”
Systems.out.println(“Interest rate=”+INTEREST*100);
System.out.println(“Years=”+TERM);
System.out.println(“Monthly Payment=”+MONTHLY);
// none of these variables have been declared. Java is case sensitive (INTEREST and Interest are different things).
This code still looks HORRIBLE! It’s nothing that would cause an error, but there are certain spacing rules you need to follow. I would look those up too.
You’re still way off. Ignore the compiler errors and listen to my answers first, I guarantee it’ll solve most if not all of the problems. I’ll post the relevant answers again:
import java.util.Scanner;
// This isn’t an error, but you don’t need this line because you don’t use the Scanner object anywhere.
payment=principleBlance*(monthlyIntere…
// these variables haven’t been declared. Did you mean Principle and Interest, rather than principleBalance and monthlyInterest? Also check for missing semicolon at the end of the line.
System.out.println(“Principle=”amount)…
// need concatenation sign (+) in between “Principle=” and amount. Also check for a missing semicolon at the end of the line.
Systems.out.println(“Interest rate=”+INTEREST*100);
// You put “Systems” instead of “System”
Systems.out.println(“Interest rate=”+INTEREST*100);
System.out.println(“Years=”+TERM);
System.out.println(“Monthly Payment=”+MONTHLY);
// none of these variables have been declared. Java is case sensitive (INTEREST and Interest are different things).
This code still looks HORRIBLE! It’s nothing that would cause an error, but there are certain spacing rules you need to follow. I would look those up too.
You wouldn’t like it if I changed the code!