An Algorithm
I will use a simple example to best explain this. I want to write a very small program that prompts a user to enter two numbers. Once these numbers are entered, they will be calculated and the sum displayed. The first step is to declare the variables. The second step is to pop a message for the user. The message will prompt the user to enter the numbers which will calculate themselves in the 4th step and populate a sum in the final step. This is what is referred to as an algorithm. An Algorithm is a step by step process required to offer a solution for a problem or to complete a particular task like the one above.
Answer:
But we're getting ahead of our story. One of the earliest attempts to build an all-electronic (that is, no gears, cams, belts, shafts, etc.) digital computer occurred in 1937 by J. V. Atanasoff, a professor of physics and mathematics at Iowa State University.
Explanation:
hope this will help you
have a great day
please mark me as the brainliest
Answer:
This is the game guess the number. The computer ask you. Hey! I have thought of a number in between 1 and 20. Can you guess what the number is? If you predict correct, Computer says you guessed right and in so and so number of times. Or else if your guess is larger than guess than it says your guess is too high and it says too low if guessed number is less than the guess. However, in this program it always says it guessed right in one attempt. Actually, we use here if else ladder, The problem is in this if else ladder expression. It has not been set properly. Hence, Adam needs to check that part of the program.
if guessd_number == guess:
attempt++
print( "you guessed right in" +attempt+"attempts)
elif guessed_number < guess:
attempt++
print("your guess is too low")
else:
attempt++
print("your guess is too high")
And this will be inside a while loop. The problem is definitely here.
Explanation:
The answer is self explanatory.
i would say d! sorry if im incorrect <3