P201821430029

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2019年5月9日

摘要: 1.1while #include<stdio.h>int main(){ int i=22; long s=0; while(i<=1002) { s=s+i; i=i+20; } printf("s=%d\n",s); return 0;} 1.2do-while #include<stdio. 阅读全文
posted @ 2019-05-09 15:19 P201821430029 阅读(157) 评论(0) 推荐(0) 编辑