https://www.cnblogs.com/longhai3/longhai

C语言>>dowhile2-200偶和

Posted on 2022-02-12 19:30  凡是过去,皆为序曲  阅读(42)  评论(0编辑  收藏  举报

#include<stdio.h>
int main()
{
int a=0,b=0;
do{
if(b%2==0)
{
a=a+b;
}
b++;
}
while(b<=200);
printf("%d",a);
return 0;
}

随心,随记

https://www.cnblogs.com/w1hg/331817