I need help making a Pseudocode from this problem. Thanks! The following Program
ID: 3883460 • Letter: I
Question
I need help making a Pseudocode from this problem. Thanks!
The following Programming Challenges can be solved by a program that performs three basic tasks-Input Data. Process Data, and Output Results. For each problem: use pseudocode to design a suitable program to solve it. Be sure to identify the data type of each variable used. Shannon and Jasmine bowl as a team. Each of them bowls three games in a tournament. They would like to know their individual averages for their three games and the team average. Allow' the user to input the scores for each player. Output Shannon's average, Jasmine's average, and the team's average. You will need the following variables: You will need the following formulas: teamAvg = (avgShannon + avgJasmine)/2Explanation / Answer
I have the developed the pseudocode and working program in C also.
Pseudocode:
function average()
team shannon
SCORES1[]
for i in [MAX 3]
READ SCORES1 <- i
end
team jasmine
SCORES2[]
for i in [MAX 3]
READ SCORES2 <- i
end
sum1
shannon team print score and calculte sum
for i in [SCORES1]
print SCORES1[i]
sum1 +=SCORES1[i]
end
print shannon team avg score sum1/3
sum2
jasmine team print score and calculte sum
for i in [SCORES2]
print SCORES2[i]
sum2 +=SCORES2[i]
end
print shannon team avg score sum2/3
print both team average score (sum1+sum2)/2
end
please do let me know if u have any doubts..
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.