# Найбільше парне число

Знайти найбільше число із тих чисел, які вводить користувач.

Припинити приймати числа, коли він введе 0.

Не враховувати непарні числа *(погугліть про оператор залишку від ділення (**%**) або* [*почитайте тут*](/zero/tutorials/nagadaiki-poyasnyaiki.md)*)*

*Якщо за весь час користувач не ввів жодного парного — вивести на консоль текст "Жодного парного".*

*Якщо було хоча б одне парне — вивести на консоль це число.*

Бажано зробити, щоб обробляло і від'ємні числа (але не обов'язково):wink:

*Виникли питання або труднощі?* [*Зверніться за допомогою до Ш++.*](/zero/arrangements/support.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shpp.gitbook.io/zero/tutorials/loops/highest_even_number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
