SPOT THE ERROR:
Answer options
A
Observe the below algorithm to fifind the average of three numbers.
B
Step1: Start
C
Step2: Get num1, num2, num3
D
Step3: Add num1, num2, num3 and store it in Sum
E
Step4: Average=sum%3
F
Step5: Display Sum and Average
G
Step6: Stop
H
Identify the incorrect step(if any)
I
step4
J
b and c
Correct answer: Step4: Average=sum%3, step4, b and c
Explanation
The source marks the correct answer as: step4; b and c; indexoutofbound; CTE.