Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hello! I\'m currently working on a program and it\'s giving me a bit of trouble.

ID: 3533253 • Letter: H

Question

Hello! I'm currently working on a program and it's giving me a bit of trouble. The trouble I'm having is the data Input. <br>

What I'm wanting to do is create EOF loop where it retrieves all the data I need. <br>

This first photo is what the data file contains.<br>

http://imageshack.us/photo/my-images/805/chelp2.png/ <br>

Each variable has a meaning and it can be seen corresponding to the second photo. <br>

The second photo is my program that retrieves the first set of data. <br>

http://imageshack.us/f/541/chelp1.png/ <br>

The problem is, it only reads the first set of data and I need to retrieve the rest. <br>

I need to use an End Of File loop, but I'm stuck right there. <br>

Explanation / Answer

It'll be something like this :


http://ideone.com/nNurdo

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote