Well first on all we cannot see all of your code, so that is a problem, but I see some spelling problems blance is spelt balance
besides I believe their is a error log review that.
and why to you have a multi line ender in the beginning */
and on the 5 line from the bottom you spelt systems
What is the compiler error saying? The code looks incomplete by looking at it. I mean, what does “…” in payment=principleBlance*(monthlyIntere… mean? I can’t tell you what to fix unless I have a complete code.
From what I can tell, these are all 7… actually 9 of your problems:
Your top comment block has no opening comment symbol. You need to put /* (or /** if using javadoc) at the very top of the file.
import.java.util.Scanner;
// extra period, needs to be “import java.util.Scanner;” However, you don’t even need this line because you don’t use the Scanner object once 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).
You’re also missing a final closing brace ‘}’ at the very end.
I strongly recommend you learn basic java syntax and how to read compiler diagnostics.
Also, this code 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.
Well first on all we cannot see all of your code, so that is a problem, but I see some spelling problems blance is spelt balance
besides I believe their is a error log review that.
and why to you have a multi line ender in the beginning */
and on the 5 line from the bottom you spelt systems
Hmm.. some of your code is cut off. But here is something to start with.
import.java.util.Scanner;
Remove the dot in between import and java…^
If you want, just do:
import java.util.*;
then after declaring your public class, but before main, establish:
static Scanner console = new Scanner(System.in);
email me the full code if you don’t figure the rest out.
What is the compiler error saying? The code looks incomplete by looking at it. I mean, what does “…” in payment=principleBlance*(monthlyIntere… mean? I can’t tell you what to fix unless I have a complete code.
From what I can tell, these are all 7… actually 9 of your problems:
Your top comment block has no opening comment symbol. You need to put /* (or /** if using javadoc) at the very top of the file.
import.java.util.Scanner;
// extra period, needs to be “import java.util.Scanner;” However, you don’t even need this line because you don’t use the Scanner object once 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).
You’re also missing a final closing brace ‘}’ at the very end.
I strongly recommend you learn basic java syntax and how to read compiler diagnostics.
Also, this code 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.