MCQ
Read two numbers, add them, and display the sum. Which pseudocode correctly represents this?
Unit-2 Computational Thinking and Algorithms
A INPUT a, b; total = a + b; PRINT total
B PRINT a, b; total = a - b; INPUT total
C INPUT a; PRINT b; total = a
D INPUT total; PRINT a + total
Explanation

The correct order is to input both numbers, add them into total, then print the result.