Pseudocode to count of the number of players registered for each team: start Dec
ID: 3632828 • Letter: P
Question
Pseudocode to count of the number of players registered for each team:start
Declartions
num i
num SIZE = 5
num item[SIZE]
num count
num FINISH=999
num team_number[SIZE] = 1,2,3,4,5
string team_name[5] = “Goal Getters”,”The Force”,”Top Guns”,
”Shooting Stars”,”Midfield Monsters”
getReady()
while item <> FINISH
findName()
endwhile
finishUp()
stop
getReady()
for count = 0 to 4 step 1
output “Enter Last Team Number “
i=0
input item[i]
i++;
endfor
return
findName()
for count = 0 to 4 step1
i = 0;
output “The total number of players registered for each team”,item[i]
endfor
finishUp()
output “End of job”
return
Note
Each program should include four modules as follows:
1. A main module to drive the program.
2. A module to accept user input, and create input/output files.
3. A module to perform the task(s) indicated by the program. You must use one or more arrays!
4. A module to indicate the program is over