Ask Question
4 November, 08:08

dam 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?

+1
Answers (1)
  1. 4 November, 10:13
    0
    Adam had most likely made a logic error.

    Explanation:

    Adam should check his code for any wrong formulas used or wrong arithmetic symbols.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “dam 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. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers