Question: Write an algorithm in pseudocode that uses a loop to input 10 pairs of numbers, where each pair represents the score of a football game
Write an algorithm in pseudocode that uses a loop to input 10 pairs of numbers, where each pair represents the score of a football game with the UWEC score listed first for each pair of numbers determine whether UWEC won or lost After reading in these 10 pairs of values, print out the won/lost/tie record of UWEC. In addition, if this record is a perfect 10-0, then print out the message "Congratulations on your undefeated season! I have provided some of the information. Please fillin the blanks accordingly. Algorithm: Step 1: Set the values of Won, Lost, and Tied all to O Step 2: Set the value of i to 1 Step 3: While i Step 4: Get the value of UWEC and OPP Step 5: If UWEC>OPP, then Step 6: Step 7: Else if UWEC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
