运行如下的C//程序代码片段后,变量sum的值是 int sum=0; for(int i=0;i<=10;i++){ sum+=i; }
A.10
B.25
C.50
D.55
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/944874.html
上一篇:The Use of Charger: If there is smoke, smelliness, noise and so on, please stop at once, or it may cause a fire or electric shock.
下一篇:一般将经济收敛分为绝对收敛、______和σ收敛。