290000992
09.03.2020 •
Computers and Technology
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?
Solved
Show answers
More tips
- F Food and Cooking What to Give as a Wedding Gift?...
- F Food and Cooking Everything You Need to Know About Pasta...
- C Computers and Internet How to Choose a Monitor?...
- S Style and Beauty How to Get Rid of Peeling Nails: Natural Remedies...
- S Science and Technology Understanding Magnetic Storms: A Guide to This Natural Phenomenon...
- F Family and Home What is Most Important in Men s Lives?...
- G Goods and services Which TV is better - LCD or Plasma?...
- C Computers and Internet Are there special gaming mice?...
- G Goods and services LED-подсветка в LCD-телевизорах: 5 причин, почему она лучше других технологий...
- C Computers and Internet Keep Your Mouse Pad Clean: The Right Way to Clean It?...
Answers on questions: Computers and Technology
- C Computers and Technology The word biodegradable on a label doesn t necessarily mean a product is environmentally safe?...
- M Mathematics I would like the right answer pls :D thx...
- B Business Biloxi Co. is a U.S. firm with a subsidiary in China. The subsidiary reinvests half of its net cash flows into operations and remits half to the parent. Biloxi Co. has expected cash...
- B Business Enterprise content management (ECM) is the term used to describe the technologies, tools, and methods used to a. capture, manage, store, preserve, and deliver content or information...
- P Physics What are electromagnetic waves? please i need a good answer...
Ответ:
Adam most likely forgot to add a while loop to the guessing code or didn’t add it properly, meaning that instead of letting him guess multiple times it just continues the code, all he needs to do is add a while loop to fix the line of code.
Explanation:
hope this helps
Ответ:
Adam had most likely made a logic error.
Explanation:
Adam should check his code for any wrong formulas used or wrong arithmetic symbols.
Ответ: