Student Scores
A class mark book as a 2D array — count high scores, total one student, average a subject column, and find max/min.
Open challenge 1Four 2D-array programming challenges covering counting, totaling, averaging and max/min. Each challenge is on its own page. Try it yourself, then press Show solution.
A class mark book as a 2D array — count high scores, total one student, average a subject column, and find max/min.
Open challenge 1Four days of morning, afternoon and evening temperatures — practise nested loops on rows and columns.
Open challenge 2A boutique cinema grid where 0 means empty and a positive number is the ticket price paid for a booked seat.
Open challenge 3Four delivery vans and three weekdays of kilometre data — count long trips and analyse rows and columns.
Open challenge 4