Advertisement
immuntasir

Untitled

Jun 3rd, 2015
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. int main() {
  3.     int ara[100], count = 0, i;
  4.     for (i=0; i<100; i++) {
  5.         scanf("%d", &ara[i];
  6.         if (ara[i]%2 == 0) count++;
  7.     }
  8.     printf("%d\n", count);
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement