213k views
3 votes
Pedro would like to create a computer program to add two numbers. The commands for the algorithm he created are: Enter the first number, press the addition button, and enter the second number. What is the error in the algorithm?

User Sraffa
by
7.2k points

1 Answer

2 votes

Answer:

I think that the error comes in the fact that without anything to have the two numbers added together, Pedro really can't do anything to solve the numbers. He needs something that takes "first number" and "second number" and finds the sum of the numbers that have been inputted.

User Sonfollower
by
7.9k points