问答题

已知算式C=1+2+3+…+m-1,当m最大为多少时,C的值小于300,输出M和C的值。

【参考答案】

#include<stdio.h>
main( )
int C,m;
C=A;
......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)
热门 试题