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