Tuesday
September 2, 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

Debug=true - The source code that generated this unhandled exception can only be...
IT/210 - Assignment: Chapter 5 Programming Problems ∑ Complete Programming ...
Programming - Using your knowledge of pseudocode, conditional statements, and ...
programming - You have the final sales figures for the four quarters in 2010 for...
Computer Programming - Draw a structured flowchart and write pseudocode that ...
Programming - Design a program in pseudocode that calculates the amount of money...
programming - pseudocode for // This application reads 10 numbers // and sorts ...
VB - Programming in Visual basic 2008 exercise 11.5 Create a project that store ...
Pseudocode programming - I need a currency conversion application. It does not ...
programming - Draw a flowchart or write the pseudocode for an application that ...

Search
Members