SHARE
TWEET

Untitled

a guest Nov 12th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int n,i,count=0;
  5.  
  6.     for(i=1;i<6;i++)
  7.     {
  8.         scanf("%d",&n);
  9.         if(n%2==0)
  10.         {
  11.             count++;
  12.         }
  13.     }
  14.     printf("%d valores pares\n",count);
  15.     return 0;
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top