未知题型

用while循环获取1到10数字的和()

【参考答案】

int x=1;//记录参与加法的数据 int sum=0;//记录每一次的和 while(x<=10){ sum=su......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)