1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
netineya [11]
3 years ago
15

URGENT: I need to add a while loop in this program but I don't know-how. I am also having trouble neatening some lines of code.

Computers and Technology
1 answer:
dangina [55]3 years ago
8 0

Answer:

Answer is in the provided screenshot.

Explanation:

You are making this more confusing for yourself by doing it like this.

I have added variables at the top of your program for game messages that are repeated - and also simplified the given cases for if the player wins, loses or ties.

I invite you to now make a point tracker that, at the start of each game says: You have "x" points.

And you gain a point for winning, lose a point for losing and nothing happens if you tie.

To add a while loop - simply use the "while" keyword, and anything within the loop will repeat while the given condition is true.

You might be interested in
How can forms help us reduce data-entry errors?
Lisa [10]

Answer:

 Forms help to reduce the data entry errors by the following ways as follows:

  • As, forms are designed in a more user friendly way. So that it is easy to understand to the users and it also increases the accuracy of the information.
  • In forms, very particular sections of information are divided into different section so it reduces the complexity and result into less data entry error.
  • Forms automatically validate the data or information efficiently that is filled by the users. So, that is why there is less number of changes of errors while data entry.  
5 0
3 years ago
Eight what makes one character
garri49 [273]
8 bits make a byte or a character.
7 0
2 years ago
Word can store a maximum of how many documents in its Recent Documents area? five ten fifteen twenty
djyliett [7]
The answer is twenty.
5 0
2 years ago
Which of the following is equivalent to (p&gt;=q)? <br> i) P q iv) !p Where are genius people?:)
Elena L [17]

Answer:

Explanation:

This is unsolvable if you have no variable substitutes

4 0
2 years ago
What are the two ways to print a document?
guajiro [1.7K]

Answer:

ctrl+p or find the print button on the page

5 0
3 years ago
Other questions:
  • WILL DO A BRAINLY! help pls.
    15·1 answer
  • Clearing the computer's cache helps store recently-used information.<br><br> True<br> False
    10·2 answers
  • What is a way to Procter your social security number and other sensitive information from identity theft
    9·1 answer
  • Write a program that reads a list of scores and then assigns grades python
    9·1 answer
  • What type of engineer is needed in the following scenario?
    7·2 answers
  • Why is it important to not get distracted while driving?
    13·2 answers
  • 60 POINTS!
    13·1 answer
  • A bicycle combination lock has four rings with numbers 0 through 9. Given the actual numbers and the combination to unlock, prin
    13·1 answer
  • Your employer is opening a new location, and the IT director has assigned you the task of calculating the subnet numbers for the
    14·1 answer
  • Choose the correct answer
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!