111

#include<stdio.h>

int main(void)

{

         int i,sum=0;

 

         for(i=1;i<=100;i++)

                   if(i%2==0)  sum=sum+i;

                   printf("%d",sum);

 

posted @ 2013-10-02 20:04  zhaoyang16  阅读(103)  评论(0编辑  收藏  举报