Wednesday, June 15, 2016

SOLUTION OF URI 1065


//  1065  (Mahmud_Jamil) BRUR
// 
  question of  1065 Even Between five Numbers



#include <stdio.h>
 int main()
 {
     int i, sum=0;
     int n;
     for(i=1; i<=5; i++){
            scanf("%d",&n);
     if(n%2==0){
            sum+=1;
       }
   }
      printf("%d valores pares\n",sum);

    return 0;
}




0 comments:

Post a Comment