c语言作业 少帅大王 2025-11-20 44 阅读1分钟 #include <stdio.h> int main(){ int s = 0; int i = 1; while(i <= 100){ printf("%d \n",i); s = s + i; i+=2; } printf("%d \n",s); return; }