Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int ara[100], count = 0, i;
- for (i=0; i<100; i++) {
- scanf("%d", &ara[i];
- if (ara[i]%2 == 0) count++;
- }
- printf("%d\n", count);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement