Daffodil International University
Problem Link
//Please follow from main function
#include<stdio.h>
int main()
{
int i, n, count=0;
for(i=1; i<=5; i++)
{
scanf("%d", &n);
if(n%2==0)
{
count=count+1;
}
}
printf("%d valores pares\n", count);
return 0;
}
0 Comments