#include "stdafx.h"#include "stdio.h"int main(){long s,a;a=0; s=22;do{ a=s+a;s+=20;}while(s<=1002);printf("%d",a);return 0;}
本文共 312 字,大约阅读时间需要 1 分钟。
#include "stdafx.h"#include "stdio.h"int main(){long s,a;a=0; s=22;do{ a=s+a;s+=20;}while(s<=1002);printf("%d",a);return 0;}
转载于:https://www.cnblogs.com/p201821440019/p/10750192.html