use pseudocode to design a working program for the following problem: Shannon an
ID: 3588079 • Letter: U
Question
use pseudocode to design a working program for the following problem:
Shannon and Jasmine bowl as a team. Each of them bowl three games in a tourney. They would like to kinow their averages for their three games and the team average. Allow the user to input the scores for each player. Output Shannons average, and the teams average. Use following variables:
Score1 Score2 Score3 avgJasmine
sumShannon sumJasmine avgShannon teamAvg
Explanation / Answer
Pseudocode can be as follows:
sumShanon = 0
sumJasmine = 0
input shanon's score score1,score2. score3
sumShanon = score1+score2+score3
input Jasmine's score score1,score2. score3
sumJasmine = score1+score2+score3
avgShanon = sumShanon/3
avgJasmine = sumJasmine/3
teamAvg = (sumShanon + sumJasmine)/6
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.