This pseudocode segment is intended to describe computing youraverage score of t
ID: 3608481 • Letter: T
Question
This pseudocode segment is intended to describe computing youraverage score of two classroom test. (Find bugs and correctthis pseudocode). input midtermGrade input finalGrade average = (inputGrade + final) / 3 print average This pseudocode segment is intended to describe computing youraverage score of two classroom test. (Find bugs and correctthis pseudocode). input midtermGrade input finalGrade average = (inputGrade + final) / 3 print average input midtermGrade input finalGrade average = (inputGrade + final) / 3 print averageExplanation / Answer
average = (inputGrade + final) / 3 should be average =(midtermGrade + finalGrade ) / 2 . The problems were, it wascalling "midtermGrade" "inputGrade" and it was calling "finalGrade""final" and it needed to be using the exact same names. Also, itwas dividing the sum by 3 when there were only 2 elements beingaveraged.Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.