Hey guys and gals. Like I said in my last post I am in college. Well I wrote a program and a friend who majored in computer science said that my program will work... Well it does but doesnt do like I want. I am in need of advice using arrays... I am writing a program that has to use 10 grades. This program is suppost to show the class average, lowest grade, and highest grade. It will not do that put the program functions... As you can tell I'm here for advice not being lazy and doing my homework. Thanks for any help here is what I have wrote so far.
public class array1
{
public static void main(String[] args){
int[] gradeArray = {80,90,91,92,93,94,95,96,97,98};
{
System.out.println("gradeArray/10");
}
{
System.out.println("lowest grade");
}
{
System.out.println("Highest grade");
}
}
}
Thanks for any help it is appreciated and thanks for the help on my last post.