Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions