100%(22)22 out of 22 people found this document helpful
This preview shows page 1 - 4 out of 16 pages.
Laramie Park District has files of participants in its summer and winter programs this year. Eachfile 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 createa 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()