Now that we know the results, it’s time to determine the winner!

Inside your if/else statement that prints out odd or even, add another set of if/else statements to tell who the winner is, based on what the player chose back in stage 1.

Here is some "pseudo code" (notation resembling simplified code, not real code) that you can use to write the real code.

if (the sum was even) {

print out even

if (the user chose evens) {

the user wins

}

else {

the computer wins

}

else {

// inverse of above if statement

}

}

Here is an example of what the output of your stage three should produce:

>Let’s play a game called "Odds or Evens"

>What is your name?

Douglas

>Hi Douglas, which do you choose? (O)dds or (E)vens?

O

>Douglas has picked odds! The computer will be evens.

---------------------------------------

>How many fingers do you throw?

4

>The computer plays 4 "fingers".

---------------------------------------

4 + 4 = 8

8 is... even!

That means the computer wins!

Answers

Answer 1

Answer:

Explanation:

あなたはとても単純な愚か者ですあなたのお母さんの愚か者はあなたを愚か者にします人生の失敗あなたは悲しい処女ですそれでなぜあなたはハブを見ているのですか?s00pid bumbumでアメリカの場所でh0です。レッスンを聞いて自分をなめるか、年上のダミーのときに愚かな猫の砂糖のガールフレンドになるあなたは猫とのぞき見馬鹿を吸う


Related Questions

Other Questions
Which expression is equivalent to 5/6c + 76c, if c+ 0? Teresa is going with her family to watchprofessional barrel racers. Her familybuys 6 tickets. They have a coupon for$1.50 off each ticket. They pay $52.50altogether for their tickets. Write anequation that you could use to representthe situation. What is the price of a ticketbefore using the coupon? Which equation has a slope of 5/2 and a y-intercept of 2?A. 5x 2y = 4B. 5x 2y = 4C. 5x + 2y = 4D. 5x + 2y = 4 Describe the painting style of the Mayans. Which class were painters a part of? (Answer this question in 3-4 complete sentences.) Disclaimer Do NOT answer my question if you do not know the answer. Do NOT be disrespectful to someone else if they provided the wrong answer. Do NOT answer my question to point cheat.Thank you for answering! Have a lovely day or night, I hope to see you again soon! A stack of books is 5 feet 5 inches high. How high is it in inches? Minh fixed a rusty spot on his car. First, he sanded off all of the old red rust. Then he sprayed the sanded spot with grey primer to keep therust from starting again. Next, he sprayed the spot with a final coat of blue paint so that it would match the rest of his car. Finally, he buffed andwaxed the spot. It all worked very well, except that he accidentally got paint on his white seat covers.What color was the outside of Minh's car?1. red2. white3. blue4. grey please help with this :( i need help on this question Which words identify types of supporting details? Select all that apply The area of Tyrone's square bedroom is 144 square feet. He wants to paint the walls of his room. How much paint would he need to paint all four sides?I'll give brainliest 3/5 pint of juice is poured equally into 6 glasses. How much juice is in each glass? Answer in a complete sentence. Which of these is a reliable type of Internet source?wiki sitespersonal blogscommercial sitesgovernment sites Which two states about electric motor are true Draw an ordered stem and leaf diagram to show this information.245, 250, 251, 253, 258, 264, 267, 269, 273, 276Key:2415 means CAN SOMEONE HELP ME ??? This is areas and volumes of similar solids!!!!!! Its urgent!! What numbers are a distance of 12 unit from 35 on a number line?Select the locations on the number line to plot the points.30 points Solve 4(5x+2)=14x+32 What are some of the resources and industries that contributed to the economic growth of communities along the Gulf Coast? The difference of two numbers is 18. Their sum is 66. What are the numbers? List the numbers from least to greatest. The number of seeds in watermelons from an organic farm follow a distribution that is skewed to the right with a mean of 348 seeds and a standard deviation of 149 seeds. If a farmer randomly selects 50 watermelons from this farm, what is the probability that the average number of seeds is greater than 400 ap statistics