C
cleys
I am a VERY NEW programmer and having problems with the code below. I keep
getting an error "function undefined" Can someone please help.
{
for (int month = 0; month <361; month++)
System.out.println(month+" \t"+intPmtOut+" \t"+prinPmtOut+"
\t"+prinBalOut);
{
if (Math.abs(month % 12) == 0)
{
if (month < 361)
{
System.out.println("Press Enter to continue");
}
try
{
int temp = System.in.read();
}
catch(Exception error)
{
}
}
{
{
if (month < 361)
{
System.out.println("\t Interest \t Principal \t Principal");
System.out.println("Months \t Payment \t Payment \t Balance");
System.out.println(month+" \t"+intPmtOut+" \t"+prinPmtOut+"
\t"+prinBalOut);
}
}
}
}
}
getting an error "function undefined" Can someone please help.
{
for (int month = 0; month <361; month++)
System.out.println(month+" \t"+intPmtOut+" \t"+prinPmtOut+"
\t"+prinBalOut);
{
if (Math.abs(month % 12) == 0)
{
if (month < 361)
{
System.out.println("Press Enter to continue");
}
try
{
int temp = System.in.read();
}
catch(Exception error)
{
}
}
{
{
if (month < 361)
{
System.out.println("\t Interest \t Principal \t Principal");
System.out.println("Months \t Payment \t Payment \t Balance");
System.out.println(month+" \t"+intPmtOut+" \t"+prinPmtOut+"
\t"+prinBalOut);
}
}
}
}
}