NZ Level 5

Loops

Look at the pseudocode below:

```
START
SET a = 2
SET sum = 0
WHILE a < 9
sum = sum + a
a = a + 1
END WHILE
PRINT sum
END
```

a

The initial value of `a`

is `$\editable{}$`

.

b

What is the `OUTPUT`

of this code?

`OUTPUT: $\editable{}$`

Easy

Approx 3 minutes

Sign up to try all questions