
-----------------------------------
bryce_21
Tue Apr 15, 2014 4:22 pm

parallel array concepts
-----------------------------------
help using the parallel array concepts to reference and store the number of all "A" grades (>=90) at array index 0.........please look at the attachment below  for more details....


please anyone who know java programming i need so assists....on this project i am  working on

-----------------------------------
Insectoid
Tue Apr 15, 2014 5:01 pm

RE:parallel array concepts
-----------------------------------
What's the problem you're having? Have you tried anything at all?

-----------------------------------
bryce_21
Tue Apr 15, 2014 5:42 pm

RE:parallel array concepts
-----------------------------------
here's  my program 
the i have problems with this project is creating the parallel array to reference and store  the number of all A,B,C,D,F at array index0-4,


public class project04 {

    public static void main(String


Mod Edit:
Please wrap you code in either of the following in order to preserve whitespace (indentation) and to highlight the syntax.
 ... code ... 

[code] ... code ... [/code ]
[/code]

-----------------------------------
Insectoid
Tue Apr 15, 2014 6:21 pm

RE:parallel array concepts
-----------------------------------
[code]int A=0,B=0,C=0,D=0,F=0; [/code]

The whole point of the array is so that you don't need these variables.

[code]char letterGrades=0; [/code]

what's this variable for?

[code]letterGradeCounts[5] = grades[i]; [/code]

What's the line supposed to do?

-----------------------------------
bryce_21
Tue Apr 15, 2014 6:30 pm

RE:parallel array concepts
-----------------------------------
letterGradeCounts[5] = grades[i]; was suppose to reference to the array grades[] to store all the number of "A-F" at array index 0-4 using the parallel array concept

-----------------------------------
Insectoid
Tue Apr 15, 2014 6:44 pm

RE:parallel array concepts
-----------------------------------
Here's a question for ya: Does letterGradeCounts[5] even exist?

-----------------------------------
Zren
Tue Apr 15, 2014 7:03 pm

RE:parallel array concepts
-----------------------------------
Edit: Stop PMing me. Just post your questions in this thread so anyone can answer.

if you can help with understanding how to reference and store the number of all "A - F" at array index 0-4. 

on this project that would be a blessing....please and thank you 

on my project it ask me to create another array and parallel array concept to reference and store the number of all "A grades (>=90) at array index 0 ........

Edit 2:
Reread the question. It's asking you to _count_ the number of grades that fall under A, B, etc. Then store those counts in the array.

Edit 3:

Here's the basic algorithm:
"Increment the counter counting the number of A grades." would be letterGradeCounts, as letterGradeCounts is representing the counters for all the grades grouped by the "letter grade". The first index (0) representing the grades that fall under A.

-----------------------------------
Tony
Wed Apr 16, 2014 12:33 am

RE:parallel array concepts
-----------------------------------
bryce_21 -- please keep the discussion to this thread, instead of creating duplicate threads.

-----------------------------------
bryce_21
Wed Apr 16, 2014 11:22 am

RE:parallel array concepts
-----------------------------------
how can i use the above algorithm with parallel array concepts to reference and store does grades

-----------------------------------
bryce_21
Wed Apr 16, 2014 1:14 pm

RE:parallel array concepts
-----------------------------------
help on this java project on arrays

Write a JAVA program that (1) creates a one-dimensional array and uses a random number
generator(gaussian random numbers with a mean of 70 and a standard deviation of 10)to
populate the array with at least 100 but no more than 200 integer numbers representing exam
grades between zero(0) and 100 inclusive, (3) creates another one-dimensional array and use
the parallel array concept to reference and store the number of all "A" grades(>=90) at array
index 0, all "B" grades(80 - 89) at array index 1, all "C" grades(70 - 79) at array index 2, all "D"
grades(60 - 69) at array index 3, and all "F" grades(