>
其他
>
利用循环计算 2+22+222+2222+22222的值
人气:350 ℃ 时间:2019-12-13 04:10:50
解答
#include
int main()
{
int i,j,sum = 0;
for (i = 2,j = 0; j < 5 ; j++,i =i * 10 + 2) sum = sum + i;
printf("%d\n",sum);
return 0;
}
推荐
2+22+222+2222+22222+222222 的值
2+22+222+2222+22222简便运算
2+22+222+2222+22222+-------+2222222222请用简便方法计算
2×2=4 22×22=484 222×222=49284 2222×2222= 22222×22222 =
2*2 22*22 222*222 2222*2222 22222*22222的结果有什么规律
简便算法199*19
把一个数的小数点向右移动两位后,得到数的是比原来的数大11.88,原来的数是多少?
春游踏青要经过春分、清明、谷雨,为何这么长?
猜你喜欢
高数疑惑 等价无穷小的前提是1.乘除 2.当x→0时
there are thousands of people standing outside the gate now.为什么不能写 are standing
下列单词的形容词形式
10.24.52.78.().164
目前,地球是太阳系中唯一有水的星球吗
wash怎么样改为一般过去式?
To name only
(1)已知在25 ℃时,Ksp[Mg(OH)2]=3.2×10-11,假设饱和Mg(OH)2溶液的密度为1 g·mL-1,试求Mg(OH)2的溶解度为________g
© 2026 79432.Com All Rights Reserved.
电脑版
|
手机版