Ask Question
1 March, 13:27

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?

+2
Answers (1)
  1. 1 March, 15:58
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers