以下的功能是输出1~100之间每个整数的各位数字之和。 for(num = 1; num <= 100; num++){ s = 0; do{ s = s + num % 10; num = num / 10; }while(num != 0); printf("%d\n", s); }
A.
正确
B.
错误
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】class Animal{ Animal getOne(){return new Animal();}} class Dog extends Animal{ //insert code here } class AnimalTest{ public static void main(String[] args){ Animal[] animal={ new Animal()...
【单选题】根据内容回答题. Musical Chairs Do you know how to play a game called Musical Chairs" ? It is easy to play and most people enjoy it. All you need are some chairs, some people and some way of making music. You...
【简答题】Do you know how to play a called “Musical Chairs”?It is easy to play and most people enjoy it. All you need are some chairs, some people and some way of music. You may use a piano or any o...
【简答题】阅读理解。 Do you know how to play a called 'Musical Chairs'? It is easy to play and most people enjoy it. All you need are some chairs, some people and some way of music. You may use a piano o...
【简答题】Learning to play a musical instrument can change your brain, with a US review finding musical training can lead to improved speech and foreign language skills. Although it was suggested in the past th...