I want the user to enter two numbers with a space between them, then take the two numbers and place them in a 2-element array. For example it would look like:
Please enter two values:
>> 1 6
Where array[0] = 1 and array[1] = 6
How would I do this in C?
Probably using
scanf():