<span style="font-family:宋体;font-size:12pt;">输入</span><span style="font-size:12pt;">20</span><span style="font-family:宋体;font-size:12pt;">个同学的成绩,求他们的总成绩和平均成绩!</span><span style="font-size:12pt;"></span>
<span style="font-family:宋体;font-size:12pt;">输入格式:</span><span style="font-size:12pt;"></span>
<span style="font-family:宋体;font-size:12pt;">第一行,输入</span><span style="font-size:12pt;">20</span><span style="font-family:宋体;font-size:12pt;">个整数</span><span style="font-size:12pt;">a</span>
<span style="font-family:宋体;font-size:12pt;">输出格式:</span><span style="font-size:12pt;"></span>
<span style="font-family:宋体;font-size:12pt;">输出有</span><span style="font-size:12pt;">2</span><span style="font-family:宋体;font-size:12pt;">行,</span>
<span style="font-family:宋体;font-size:12pt;">第一是总分;</span>
<span style="font-family:宋体;font-size:12pt;">第二行是平均分。(保留</span><span style="font-size:12pt;">1</span><span style="font-family:宋体;font-size:12pt;">位小数)</span><span style="font-size:12pt;"></span>
<span style="font-size:12pt;"><span></span></span>
100 90 80 100 70 100 60 45 89 100 100 60 100 78 100 30 90 100 100 100
1692 84.6
四年级题目-循环语句练习题