when the user inputs a grade the program takes that number and puts it into an array. Then it finds the average and standard deviation of all the numbers the user enters BUT it refreshes each time the user enters a new number. So each time the user enters a number the text fields refresh. I actually just finished a program similar to this but without the array. I understand how arrays work but I just don't understand how I can take that number the user enters and use it. I know that sounded confusing but I don't understand what that variable is called so I can put it into my equations. I have getters for the average and standard deviation but thats alll I pretty much have so far. This is my code so far, any tips/help?
I have a basic understanding on where everything goes but I have no idea how to use the getters I made. I just guessed because the last time I used one I just did recordPurchase(purchase); but I think this is different. I also have no idea how I can make another catch block to catch is the user enters more than 25 grades. I know this is asking a lot but I could really appreciate the help. I've been stuck on this program all day. I've searched for programs like this all over the internet but I can't find a single one that has helped me out. CAn any of you guys help me?