Hi, new to the boards, got a n00b question. Basically, what I want to do is have the user in put a series of numbers i.e.
3 5 2 1 6 4, then have the numbers summed up and added to a variable. This is what I have.
However, it only reads the first number, in this case 3, and outputs 3 when I use a printf(). Why is that? I thought scanf() just skips over whitespace? What's the solution to this?