Quelpr

CSEC Information Technology · May/June 2013 · Paper 2 · Question 12(a)

Write program statements in PASCAL to perform each task.

Write a program header with the name of the program as TOTAL.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 12(b)Declare a variable named SUM to store whole numbers.[4 marks]
  2. 12(c)Initialize the variable SUM to give it the value, zero.[4 marks]
  3. 12(d)Print the value stored in the variable SUM. Ensure that the cursor is placed on the next line.[4 marks]

More practice: the rest of this paper · more Programming Languages questions · all CSEC Information Technology past papers