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
kifflom [539]
3 years ago
6

HELP ME PLZ QUICK Adam is writing a program that: 1) has the user guess a number, and 2) tells the user how many guesses it took

to get the correct answer. But when Adam tests the program, it always outputs that it took the user one guess, even when it takes many guesses. What error did Adam most likely make, and how should it be fixed?
Computers and Technology
1 answer:
topjm [15]3 years ago
8 0

Adam might have forgotten to loop the guessing code, meaning that instead of letting him guess multiple times, it simply does it once and ends the program. This could be fixed by adding a while loop, or something of the sort, that doesn't let the user finish the program until they guess the number correctly, while adding to the variable that stores the number of guesses each loop.

You might be interested in
What are some of the current trends in fashion?
jonny [76]

Answer:

1. pocket sized

2. muted

3. children

Full Paragraph :

For women, pocket sized tote bags and high-heeled sandals are popular now. For men, muted colors are the new trend. Bomber jackets and prints are also a fad among children.

Yeah that's basically the new trends in fashion. =v=  

5 0
2 years ago
What is the domain and path in this URL? www.example.com/homepage.html​
Alex17521 [72]

Answer:

the domain is example.com. the path is /homepage

Explanation:

4 0
2 years ago
Name the design tool that can be used to establish a spatial hierarchy of the content
rewona [7]

Typography is a tool that can be used to establish a spatial hierarchy of the content.

6 0
3 years ago
Read 2 more answers
In which scenario would someone want to use the Paste Link option?
rosijanka [135]
I believe it is A and C! 

Good luck!
3 0
3 years ago
This program will demonstrate nested loops. Create a Java program that asks for a number of orders to process and use a loop to
podryga [215]

Answer:

there a website you can see a picture it wont let me send you a link sorry

3 0
3 years ago
Other questions:
  • The following code should take a number as input, multiply it by 8, and print the result. In line 2 of the code below, the * sym
    7·1 answer
  • Mesh networks:__________.
    5·1 answer
  • What does snap do need the answer now
    10·2 answers
  • "As part of integrating your solution your client indicates that they have certain technologies enabled on their network that al
    6·1 answer
  • Which of the following is used to allocate memory for the instance variables of an object of a class?1. the reserved word public
    6·1 answer
  • You are purchasing several PC systems that will be used as thin clients in a large organization. Which hardware selection criter
    9·1 answer
  • Difference between ancient and modern mode of information <br> transmission
    12·1 answer
  • Python is an example of a low level programming language true or false?​
    14·1 answer
  • Which of the following actions is most likely to raise legal or ethical concerns?
    14·2 answers
  • What is the difference between compliled and intebrated language?
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!