I would like to see line number in the console when it asks for input.
Something like:
1 foo
2 bar
3 baz
Here 1 was shown in the prompt and I enter any input and hit enter Then the next number shows up and I do the same.
Any simple help for this in C for a beginner?