Friday
October 31, 2014

Homework Help: programming

Posted by Andre on Wednesday, September 4, 2013 at 9:33pm.

trying to debug pseudocode


2. Th e Springwater Township School District has two high
schoolsóJeff erson and Audubon. Each school maintains a
student fi le with fi elds containing student ID, last name, fi rst
name, and address. Each fi le is in student ID number order.
Design the logic for a program that merges the two fi les
into one fi le containing a list of all students in the district,
maintaining student ID number order.





start

Declarations
InputFile customerData
OutputFile mailingLabels
string studentid
string firstName
string LastName
string streetAddress


housekeeping( )
while bothDone = "N"
mainLoop( )
endwhile
finishUp( )
stop






housekeeping( )
open customerData "VernonHillsMailOrderBoxes.txt"
open mailingLabels "CutomerMailingLabels.txt"
Jefferson( )
Audubon( )
if jeffId = 9999 then
if audId = 9999 then
bothDone = "Y"
endif
endif
return






Jefferson( )
if eof then
jeffId = 9999
endif
return





Audubon( )
if eof then
audId = 9999
endif
return






mainLoop( )
if jeffId > audId then
Audubon( )
else
Jefferson( )
endif
if jeffId = 9999 then
if audId = 9999 then
bothDone = "Y"
endif
endif
return





finishUp( )
close files
return

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

math - during one year the Wagners real estate bill included $600 for local ...
American History - I am trying to locate either the name of the school or school...
English - Can somebody please help me write a summary news lead using the story ...
Algebra - A high school has 900 students, 40% of whom are drama majors. A second...
social studies please check! - 1. Why did Harry Briggs and other parents sue the...
1 Credit for HS - How to earn one credit for high school? Last year when the ...
statistics - 1. A researcher is interested in whether students who attend ...
Programming Logic - Programmign Logic for business Modify the PROCESS routine ...
AED 201 - I need help on where to go online to find the information below, I ...
law - Identify and analyze the different crimes for which students are most at ...

Search
Members