When using C programming language, I have no idea how to put a user input to an array.
I need to get integers from the user in from of:
printf("Enter numbers. Separate each by a comma: ");
How can I put each number into an array?
Also look up this too for clarification on Console.Read & Console.Readline Difference between Console.Read() and Console.ReadLine()?
c user input to arraywould have turned up many matches to previous questions (and answers). Also, when asking a question, include a tag for the language you're using and the code you've written so far trying to solve the problem yourself, or at least the research efforts you've made so far to find a solution before you posted here. Thanks.