hi there
I'm a begginner in C programming Im writing code that reads a text file( i Have attached the source)
here is the text from the file input.txt (below ) basically i want to print the number sets 5 2 0, 9 13 5... etc however i have made it so that the code prompts for which data set i want to know how do i go around doing so, eg if the user types 1 it prints 5 2 0, if the user typed 3 it prints out 0 1, so for i have it printing "Here is the data
First data set:
# "
So i've written it to print up to the first hash character.
Here is the data
First data set:
#
3
5 2 0
Second data set:
#
7
9 13 5 700 5 2 1
Third data set:
#
2
0 1
cheers any help would be great