Cant seem to fix errors....
Hey I'm currently making a program with several arrays and methods and as you will soon find out I am relatively new to Java... I have 2 errors that I seem to not be able to fix despite what I try.... I'm open to suggestions and recommendations, thanks.
import java.util.Scanner;
class Marks
{
publicstaticvoid main (String [] args)
{
Scanner in =new Scanner(System.in);
System.out.println("will determiune a abuchn of crap");
int classMarks[];
classMarks =newint[29];
for(int i = 0; i <= classMarks.length; i ++)
System.out.println("Enter the 30 marks");
int marks = in.nextInt();
System.out.println("The class exam marks are: " + classMarks);
int[] marks = enterMarks();
int[] marks = Max();
int[] marks = Min();
int[] marks = Average();
int[] marks = Passed();
}
staticint Max()
{
System.out.println("The maximum mark in the class was: " + Max);
}
staticint Min()
{
System.out.println("The minimum mark in the class was: " + Min);
}
staticdouble Average()
{
System.out.printf("The class average correct to 1 decimal place is: " + Average);
}
staticint Passed()
{
if(Marks =>8)
System.out.println("The number of students who passed the exam is " + Passed);
}
}
The errors:
C:\Documents and Settings\Desktop\Marks.java:44: illegal start of expression
if(Marks =>8)
^
C:\Documents and Settings\Desktop\Marks.java:45: ')' expected
System.out.println("The number of students who passed the exam is " + Passed);
^
2 errors
Tool completed with exit code 1
By the way I'm using Textpad Please considering helping, I would most appreciate anything. Thanks

