subject

Write a statement that compares the values of score1 and score2 and takes the following actions. when score1 exceeds score2, the message "player1 wins" is printed to standard out. when score2 exceeds score1, the message "player2 wins" is printed to standard out. in each case, the variables player1wins,, player1losses, player2wins, and player2losses,, are incremented when appropriate. finally, in the event of a tie, the message "tie" is printed and the variable tiecount is incremented.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
You know the right answer?
Write a statement that compares the values of score1 and score2 and takes the following actions. whe...
Questions
question
English, 16.08.2021 21:10
question
History, 16.08.2021 21:10
Questions on the website: 13722359