Sarah's program uses the subtraction (-) arithmetic operator to find the difference between two variables.
State the purpose of each of the arithmetic operators in the table below.
| Arithmetic operator | Purpose |
|---|---|
% (or MOD) | |
// (or DIV) |
95 exam-style questions on OCR GCSE Computer Science Programming fundamentals. Each one has a worked solution and a mark scheme showing where the marks go.