Ask Question
27 August, 04:15

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. 27 August, 04:30
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers