Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
194 B
0
Indexable
Never
#include <iostream> 
using namespace std;
int main()
{
	string a;
	cin >> a;
	for (int i = 0; i < a.length(); i++)
	{
		if (int(a[i]) % 2 != 0) {
			a[i] = '0';
		}
	}
	cout << a;
}