Hey there!
I've been working on a program, and I've made 10 objects of the class "CampSite". Each object has 7 different variables in it (name, postal code,number of campers in party etc...). I added these 10 objects to a 1-D array. I want to be able to add up all the number of campers that've been added into this array. How would I go about doing this?
Thanks!