pseudocodes and looping

I was wandering how to go about writing a pseudocoe if I had a file containing the grades of students from a beginners class, along with the students’ information. I want this  program  to loop through the records, and make sure that any student who has received 'D’, ‘W’, ‘I’, or ‘F’ in the course will not be able to move on to the Advanced .  How will I go about doing this?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hope this is not homework:

"and make sure that any student who has received 'D’, ‘W’, ‘I’, or ‘F’ in the course will not be able to move on to the Advanced .  " I guess you can just delete the poor suckers from the file :)
... or if you want to create a file with students who should be allowed then here's your pseudocode:

open input file for reading
open output file for writing

for each record from input file do
    if mark is not in ('D', 'W', 'I', 'F') then write record to output file
move to next record in input file

close output file
close input file

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jahsexy18Author Commented:
Not exactly what

I was thinnking:Big Picture FlowStart
Perform Housekeeping While not EOF Perform scheduleNextClass Endwhile Perform
StartCleanupStopHouseKeeping() begProgClass_Rec
 Char stuLastName
Char stuFirstName
Char Grade

 Open begProgClass_Rec Read begProgClass_RecReturnscheduleNextClass() If Grade = ‘A’ OR Grade = ‘B’ OR Grade = ‘C’ Then print ‘Advanced Programming’ Else print ‘Beginning Programming’ Endif Read begProgClass_RecReturnCleanup() Close begProgClass_recReturn
Our definitions of "pseudocode" might be a bit different:

Good luck
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jahsexy18Author Commented:
actually this is what I meant, if anyone can assist with writting htis program in a more convienient way
    Perform Housekeeping
   While not EOF
        Perform scheduleNextClass
    Endwhile Perform Cleanup
   "declare variables
   Char stuLastName
   Char stuFirstName
   Char Grade
   Open begClass_Rec
   Read begClass_Rec
    If Grade = A,B,C Then
    print Advanced Programming
    Else print Beginning Programming
    Read begProgClass_Rec
     Close begProgClass_rec
Seems fairly complete at a glance. I'm guessing you're going with C++ ?
Sounds good to me
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.