Pseudocode to accept a player’s team number and display the player’s team name:
start
Declartions
num item
num SIZE = 5
num sub
num team_number[SIZE] = 1,2,3,4,5
num FINISH=999
string team_name[5] = “Goal Getters”,”The Force”,”Top Guns”,
”Shooting Stars”,”Midfield Monsters”
getReady()
while item <> FINISH
findName()
endwhile
finish()
stop
getReady()
output “Enter Team Number “
input item
return
findName()
sub = 0
while sub < SIZE
if item = team_number[sub] then
output “The player’s team name is ” ,team_name[item]
endif
sub =sub +1
endwhile
return
finishUp()
output “End of job”
start
”Shooting Stars”,”Midfield Monsters”
findName()
finishUp()
output “End of job”
Programming Logic and Design Comprehensive (6th Edition) Chapter 6, Exercise 4
Need done in C++ Can not get my code to properly display output. Instructions below. The code compiles but output is very off. Write a program that scores the following data about a soccer player in a structure: Player’s Name Player’s Number Points Scored by Player The program should keep an array of 12 of these structures. Each element is for a different player on a team. When the program runs, it should ask the user...