TÓPICO
100% wrong answer
AleHiginoO perguntou 5 years ago
o que sera que estou fazendo de tao errado assim?? aqui esta meu codigo
#include<iostream>
using namespace std;
int main()
{
int n, x=0;
for (int i = 0; i < 5; i++)
{
cin >> n;
if (n % 2 == 0)
x++;
}
cout << x << " valores pares" << endl;
return 0;
}