> 其他 >
设计算法程序框图,输出2000以内除以3余1的正整数
人气:384 ℃ 时间:2020-04-22 01:09:38
解答
#include<iostream.h>int main(){\x09int i=0;\x09while(3*i+1<2000)\x09{\x09\x09cout<<(3*i+1)<<"\t";\x09\x09i++;\x09}\x09cout<<endl;\x09return 0;}
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版