56.1k views
1 vote
The program below has an error. The user wants the program to add the numbers contained in two lists. The desired output is 30,

W purpose add the numbers in two list
A5
B 3
C8
D10
E12
alist (A, B, C)
print("alistis". List)
another List - (DE)
print("anotherList is anotherLint)
sum - alist another List
print("The sum of the numbers in both lists is", sum)
What evaluation technique is being used in the program?

2 Answers

5 votes

Answer:

see below picture

Step-by-step explanation:

This is what I made out of your pseudocode.

The sum of 30 is of course impossible given the available numbers.

The program below has an error. The user wants the program to add the numbers contained-example-1
User DJ Tarazona
by
3.9k points
2 votes

Answer:

Print debugging

Step-by-step explanation:

Edge 2021

User Joel Costigliola
by
3.0k points