皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
某人编写了下面的程序: Private Sub Command1_Click( ) Dim a As Integer,b As Integer a=InputBox(′′请输入整数′′) b=InputBox(′′请输入整数′′) pro a pro b Call pro(a+b) End Sub Private Sub pro(n As Integer) While (n>0) Print n Mod 10; n=n\10 Wend Print End Sub 此程序功能是:输入两个正整数,反序输出这两个数的每一位数字,再反序输出这两个数之和的每一位数字。例如,若输入123 和234,则应该输出: 3 2 1 4 3 2 7 5 3 但调试时发现只输出了前2 行(即两个数的反序),而未输出第3 行(即两个数之和的反序),程序需要修改。下面的修改方案中正确的是( )。
A.
把过程pro 的形式参数n As Integer 改为ByVal n As Integer
B.
把Call pro(a+b)改为pro a+b
C.
把n=n\10 改为n=n/10
D.
在pro b 语句之后增加语句c%=a+b,再把Call pro(a+b)改为pro c
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】饮茶为什么能预防高血压?
【简答题】This place was darker than I expected, and, in spite of the rain, dirtier. Used to the life of rural Puerto Rico(波多黎各), I had to adjust to the similarly arranged, aggressive two-dimensionality of New ...
【单选题】In spite of you and me and the whole silly world going to pieces around us, I love you. 乱世佳人2.mp4
A.
Overstatement
B.
Hyperbole
C.
Understatement
D.
Smile
【单选题】患者,女性,21岁。主诉吞咽时感觉食物黏附在咽部。查体:面色苍白,皮肤干燥,毛发干枯。化验结果:血象呈小细胞低色素性,血红蛋白88g/L,红细胞游离原卟啉1.1µmol/L。给予患者补充铁剂,护士介绍服药的注意事项中正确的是
A.
服铁剂时可同时饮茶、牛奶、咖啡
B.
口服液体铁剂宜直接饮用
C.
口服铁剂可加用维生素C
D.
口服铁剂宜空腹时服用
E.
注射铁剂时建议在皮肤暴露部位注射
【单选题】In spite of you and me and the whole silly world going to pieces around us, I love you. 乱世佳人2.mp4
A.
Overstatement
B.
Hyperbole
C.
Understatement
D.
Simile
【单选题】In spite of the many advances women have made in education and employment, they continue to be at a disadvantage when it comes to pay and promotion. In your view, what should be done to promote equali...
A.
give reasons and examples.
B.
give reason or examples.
【简答题】You are brave and _______ so you can make it in spite of all the difficulty.
【单选题】Life is not always that smooth and I hope you can force a laugh _________ pain.
A.
due to
B.
in spite of
C.
in terms of
D.
for the benefit of
【简答题】用C语言写一个简单的延时函数(时间不要求精确)
【单选题】Life is not always that smooth and I hope you can force a laugh _________ pain.
A.
due to
B.
in spite of
C.
aimed at
D.
accustomed to
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题