|
|
|
|
|
|
|
| 1 Газиз Айлин, 07 апреля 2026 г. 12:52:08 |
| #include <iostream> using namespace std; int main() { int x; int kol = 0; while (cin >> x and x!=0){ if (x % 2 == 0){ kol++; } } cout<<kol; }
|
|
|
| 2 Игнатчик Павел Александрович, 31 января 2026 г. 19:44:11 |
| #include <bits/stdc++.h> using namespace std; int main() { int c = 0, a, n = 0; do{ cin >> a; if (a % 2 == 0) n++; }while(a != 0); cout << n - 1; return 0; }
|
|
|
| 3 Бычковский Дима Алексеевичь, 13 ноября 2025 г. 8:25:23 |
| #include <iostream> using namespace std; int main() { int g=0,n=-1, a; do { cin >> a; if (a%2==0) n++; } while (a != 0); cout << n; return 0; }#include <iostream> using namespace std; int main() { int g=0,n=-1, a; do { cin >> a; if (a%2==0) n++; } while (a != 0); cout << n; return 0; }
|
|
|
Чтобы оставить сообщение необходимо зарегистрироваться и авторизоваться!
| | | |