Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
317 B
2
Indexable
Never
//КОШЕЛЕВ ДАНИИЛ
//произведение чисел

#include <iostream>
using namespace std;

int main() {

	int a;
	
	bool boo = true;

	cin >> a;

	int bo = 1;

	int s = 0;

	while (a>0) {
	
		
		bo = a % 10;

		if (bo % 2 == 0) {
			
			s += 1;

		}

		a = (a - a % 10) / 10;

		
	}
	cout << s;

}