hbz3xtreme
New member
- Joined
- Dec 16, 2016
- Messages
- 1
- Programming Experience
- Beginner
I'm new and have no idea how to do it, it needs to be combined.
start
perform housekeeping()
while not eof
perform mainLoop()
endwhile
perform finishUp()
stop
housekeeping()
declare variables
open files
perform headings()
read soccerRec
return
mainLoop()
print soccerFirst, soccerLast, soccerTeam, teamName[soccerTeam]
read soccerRec
return
headings()
print heading1
print heading2
return
finishUp()
close files
return
start
perform housekeeping()
while not eof
perform mainLoop()
endwhile
perform finishUp()
stop
housekeeping()
declare variables
open files
perform headings()
read soccerRec
return
mainLoop()
count[soccorTeam] = count[soccorTeam] + 1
read soccerRec
return
headings()
print heading1
print heading2
return
finishUp()
soccorTeam = 1
while soccerTeam <= 5
print teamName[soccerTeam], count[soccerTeam]
soccerTeam = soccerTeam + 1
end while
close files
return
start
perform housekeeping()
while not eof
perform mainLoop()
endwhile
perform finishUp()
stop
housekeeping()
declare variables
open files
perform headings()
read soccerRec
return
mainLoop()
print soccerFirst, soccerLast, soccerTeam, teamName[soccerTeam]
read soccerRec
return
headings()
print heading1
print heading2
return
finishUp()
close files
return
start
perform housekeeping()
while not eof
perform mainLoop()
endwhile
perform finishUp()
stop
housekeeping()
declare variables
open files
perform headings()
read soccerRec
return
mainLoop()
count[soccorTeam] = count[soccorTeam] + 1
read soccerRec
return
headings()
print heading1
print heading2
return
finishUp()
soccorTeam = 1
while soccerTeam <= 5
print teamName[soccerTeam], count[soccerTeam]
soccerTeam = soccerTeam + 1
end while
close files
return