hello. I keep getting the following errors:
";" expected for lines 8 & 10, do I not have them in the right place? hopefully a new set of eyes will be able to help thanks in advance, here's the program.
public class calculateFunction
{
public int calculateFunction (int x);
{
int y=0
y=(int)(x+(x*x) + Math.pow(2,x));
return y
}
public void printStars ();
{
for (int j; j < 10; ++j);
{
int y = calculateValue(j);
y/=10;
System.out.println("PrintFor: +j");
for (int I=0;i<y;i++)
System.out.print("*");
System.out.println ("\n\n");
}
}
public static void main (
String[] args);
{
calculateFunction cal = new calculateFunction ();
Cal.printStars();
}
}