Help compeleting four average mark.
Hello, I am new at java I am having a problem finishing my first assignment lol. I am trying to make a program that will take 4 marks and average them out. Looks easy sounds easy but not really lol.
Here is what I got so far.
the problem I am having is how to tell the program Enter the Second mark because i x is going to say to all the numbers
public static void main (String args)
c = new Console () ;
String i = new String ;
c.printIn (“Four Courses Average Taker”) ;
for (x=0;x < 3;x++)
c.print (“Enter your first mark“) ;
i [x] =c.readLine () ;
c.printIn (“Your average for the four courses is
ENTER YOUR FIRST NUMBER= 85
ENTER YOUR FIRST NUMBER=95
ENTER YOUR FIRST NUMBER=99
ENTER YOUR FIRST NUMBER=50
after doing that how do I tell it to average out.
any input will do more I learn different people better is for me. So give me anything I will try to understand. Thanks a lot YOUR THE BEST!!!