subject

I WILL GIVE BRAINLIEST AND WORTH 40 POINTS, PLEASE ANSWER ALL QUESTIONS: 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?
The difference between a for loop and a while loop is that a for loop is a loop that happens for a certain number of times. A while loop happens until a certain condition is met. How do you know when to use each one? Give specific examples in your answer.
What are some programs that you have used that have condition-controlled loops and count-controlled loops?
Why is it important that if, elif, and else statements appear in the proper order?
What are some situations where you might find it useful to use the “!” symbol in a program?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 05:00
Modern businesses use different technologies to accomplish work tasks
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
question
Computers and Technology, 24.06.2019 07:00
Selective is defined as paying attention to messages that are consistent with one’s attitudes and beliefs and ignoring messages that are inconsistent.
Answers: 1
You know the right answer?
I WILL GIVE BRAINLIEST AND WORTH 40 POINTS, PLEASE ANSWER ALL QUESTIONS: Adam is writing a program...
Questions
question
Mathematics, 27.10.2021 23:00
question
Mathematics, 27.10.2021 23:10
Questions on the website: 13722359