hi!

i have to write a program which asks the user "how many days" (he worked), then asks "how many hours in day 1" then "how many in day 2 etc..
heres the thing what i cant figure out, since it involves arrays.
when i enter 5 days, the program has to understand that he will ask me only until "how many days in day 5:" and then calculates the rest, which im probably capable of coding, but i cant wrap my head around that connection with that one. also since i study every day, all day and cant take a day off not to study programming, i have alot to finish still ,until end of year and my brain goes wooheehoo :S

im thankful for any help or links, which adress that thingy.
(couldnt find any array examples of that one at all)