Kiran's program uses the greater than (>) relational operator to compare the values of two variables.
State the purpose of each of the relational operators in the table below.
| Relational operator | Purpose |
|---|---|
== | |
!= (or <>) |
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.