5

Below is an incomplete algorithm which is intended to take two user inputs, add them together and output the total.


Lines 3, 7, 13 and 16  are missing from the algorithm above.
Using four of the lines of code below, complete this algorithm in the electronic answer document.

  • Total = +1
  • set Total = Num1 + Num2
  • Num2 is integer
  • output “type in second number”
  • endmainprog
  • end
  • Add Num1 + Num2

Enter your answers in the electronic answer booklet