208k views
4 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?
Clear the number.
Press the equal button.
Press the off button.
Press the divide button.

1 Answer

8 votes
Press the equal number.

For example:
Press the equal button: = (this step can go first or last)
Enter the first number: 5
Press the addition button: +
Enter the second number: 4
Press the equal button: =
User Maulik Vora
by
4.2k points