Hello, I am new here entirely, and I am new to C programming, I have to write a program, that uses a "while loop" and "for loop" my teacher gave me two lines of code that had to be used in order to extract the data out of three files he gave us the name for. I need help getting started on that part, I can do the rest of the math stuff on my own, I am having troubles getting started on the code that will pull out the numbers from a file and making them useable in the code.
that is the two lines he gave us, and I don't understand what they do exactly that much. Any help is very much appreciatedCode://get the file name while (fscanf(infile, "%d", &number) ==1) for (i=0; i < number; i++);
Stuart