Question about making a program

Ok so I don't know how to program this one soo I'll ask :3
so here it goes i don't know how to explain it but I'll illustrate it as hard as I can.
its a program to add one dimensional arrays:

Fatboy: 500 500 500 -8
so whenever i should type -8
it should go to the another variable so it would look something like this

Fatboy: 500 500 500 -8
Littleboy: 1000 100 100 100 -8
Bully: 1 1 1 1 1 1 1 1 1 1 1 -8

then something would cout like this
Fatboy's sum: 1500
Littleboy's sum: 1300
Bully's sum: 11

well I know it's a bit of spoon feeding but I've search in the forums still I can't understand how arrays work so yeah who ever can make a program like this thanks.
P.S i think this is somewhat like a nested loop.
Topic archived. No new replies allowed.