100%(15)15 out of 15 people found this document helpful
This preview shows page 1 - 5 out of 16 pages.
Laramie Park District has files of participants in its summer and winter programs this year. Each file is in participant ID number order and contains additional fields for first name, last name, age,and class taken (for example, Beginning Swimming).a. Design the logic for a program that merges the files for summer and winter programs to create a list of the first and last names of all participants for the year.Laramie park district has files of participants in its summer and winter programs this year.Pseudocode:startDeclarationsInputFile summerFileInputFile winterFileOutputFile mergedFilenum summerIdnum summerAgestring summerFirststring summerLaststring summerClassnum winterIdnum winterAgestring winterFirststring winterLaststring winterClassstring areBothAtEnd= “N”num END_ID = 999999getReady()while areBothAtEnd <> “Y”mergeRecords()