how do I write a function that creates 2 arrays for GradeBook? The first array has three columns and two rows and then I need a loop that will average the values of the rows then display them in another array. PLEASE HELP!

Look into loops. FOR and WHILE loops will help you get started. You did read the member rules, right?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.