[](https://i.stack.imgur.com/bbOHh.png
I have an assignment for class but I am not sure how to separate the values entered and store them into the array. Any help would be appreciated
I tried just asking the question once and hoping the program would separate the values itself but that didn't work, then i created a loop that would go forever asking the question until nothing was entered and that worked but it's not exactly what is being asked of me