Module: (C++) Loop statement with condition - while

Problem

16
/21

Number of numbers that satisfy the condition

Problem

The input of the program receives an unknown number of integers, the input ends with zero (zero is not included in the sequence). Determine how many numbers received that are divisible by 3.

Input
The input to the program is numbers, one number per line.