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
Data about the size and composition of a population are gathered in a survey called _____.
topjm [15]
Your answer is B. :) Hope this helps!
6 0
3 years ago
Read 2 more answers
Why is monitoring email, voice mail, and computer files considered legal?
Sati [7]

Explanation:

Monitoring someone's emails,voice mails and computer files is considered is illegal because you are accessing someone's personal information which is not regarded as  ethical .

There are certain reasons where one's email,voice mails and computer files can be monitored are as following:

  1. Protect the security information and security.
  2. Investigation of complaints of harassment.
  3. Preventing personal use of employer's facilities.
6 0
3 years ago
Formulas within table cells always begin with
Montano1993 [528]
The answer is C.

Formulas within table cells always begin with an equal sign.

Here is the sample of some of the formulas :

1. Sum (equation)
=SUM(5, 5) or =SUM(A1, B1) or =SUM(A1:B5)

2. Count ( to count number of cells or rows)
=COUNT(A1:A10)

3. Trim ( Get rid of any space in a cell)
=TRIM(A1)

4. Vlookup ( to look up data from a vertically structured table)
=VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)

5. if statements
=IF(logical_statement, return this if logical statement is true, return this if logical statement is false)







5 0
3 years ago
Which is better intel or amd real debate.
natima [27]

I believe Intel is better at handling games. Not saying AMD isn't good, just not as good. AMD is better for handling multiple task. I personally don't mind either.

8 0
3 years ago
Read 2 more answers
Which sequence of slides would be followed in a linear slideshow? A. slide 4 -> slide 5 -> slide 6 -> slide 7 B. slide
Nina [5.8K]

i dont understand your qeution to be able to answer it

8 0
3 years ago
Read 2 more answers
Other questions:
  • Can you please answer the questions computer subject
    12·1 answer
  • Jeff is preparing for a presentation on effective communication skills. He has to face an audience of over 50 people. Which stra
    9·2 answers
  • What is the benefit to having the user interface integrated into the operating system? a) Power users prefer the added flexibili
    13·1 answer
  • 1) Put the following in order from smallest to largest A) 1,500,000 bytes B) 2,000 kilobytes C) 0.01 petabytes D) 1 Terabyte E)
    8·1 answer
  • Which feature of a presentation program’s interface provides a list of commands to create, format, and edit presentations?
    14·2 answers
  • Double[][] vals =
    8·1 answer
  • Addison, Inc. uses a perpetual inventory system. Below is information about one inventory item for the month of September. Use t
    15·1 answer
  • How did New York Governor Hugh Carey handle Sostre’s situation?
    9·2 answers
  • Mention some of the codes of conduct of Information Technology (IT)​
    11·1 answer
  • HELLLP PLEASEEEEEEEEE
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!