miguel ortiz

Greenhorn
+ Follow
since Jun 12, 2016
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by miguel ortiz

Thank you, I mark my methods static because is the only way everything is working so far, but I still have the same issue that I cannot calculate the grade letter and print it out with the grades on the array table
7 years ago
Again here I have my newest code, Still have the same problem...the calculateGrade method in line 22I want to get that average and assign it to my GradeLetter method in line 63 and loop it and then the result would be the grade letter which I want to put in the DisplayvalueInArray line 47...but I cant display the grade letter and cant figure it out. below is also my output. thank you guys for your help so far.




I also want to get rid of that null from my result in the scores





7 years ago
I'm currently adding another method to calculate the grade average, but to link other methods with the new one is what is killing me. I erased line 55. but like I said earlier everything I add something new the more complex it gets and more errors pop up, and I don't have enough experience to figure all out at this point by myself...did I made it to complex to start with? what is supposed to do is use arrays to save multiple students and multiple grades and calculate and be able to assign a grade letter according to the scale.
7 years ago
well to implement my if statements for taking the array values of homework and taking the average, and then with that average put the value through the loop and assign a letter grade and print it together in the DisplayValueArray. That's what I wanted to accomplish, but there is a brake somewhere and I cant figue it out...I still working on it..and now I am starting another one from scratch. But it would be nice if I could figure that code out lol, but I still have a great deal of learning to do, and I understand.
7 years ago
Well I think I broke this even more, now it doesn't even do anything, LOL wow.
7 years ago
so at the end of the line I have to add the variables averageGrade to be calculated (or add the whole loop to the DisplayvalueInArray method) I am kind of lost on what to do.
7 years ago
Hello, I am new to java and here I have an issue with this code having multiple methods. this is for a grading calculator and ask me how many students, how many grades, and prints the result in an array table...what I want to do is to not just print each mark, but calculate the average and display the average in the array DisplayvalueInArray. my output right now is the student with all the marks for each student.

this is my java code:



my output:


7 years ago