皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
输入若干个字符,分别统计数字字符的个数、英文字母的个数,当输入换行符时输出统计结果,运行结束。 #include int main( ) { int s1=0,s2=0; char ch; while((____)!='\n') { if(ch>='0'&&ch<='9') s1++; if(ch>='a'&&ch<='z' ||____) s2++; } printf("%d,%d",s1,s2); return 0; }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】下列辅助空间为 O(n) 的排序方法是 ____
A.
直接插入排序
B.
堆排序
C.
快速排序
D.
归并排序
【单选题】A period of t en years is a ________.
A.
century
B.
era
C.
millennium
D.
decade
【单选题】下列排序方法中,辅助空间为O(n)的是()
A.
希尔排序
B.
冒泡排序
C.
堆排序
D.
归并排序
【单选题】During the Old English period, the language was mainly influenced by ________.
A.
Old Norse and French
B.
Latin and Old Norse
C.
French and Latin
D.
Anglo-Saxon languages
【单选题】Which of the following is not a characteristic of Old English period literature?
A.
The literature of this period is rather primitive.
B.
The literature of this period mainly deals with the pagan tradition of Anglo-Saxons.
C.
The early stories of the Anglo-Saxon ancestors were written down by poets in their home country.
D.
Old English literature provides precious materials for modern study and research.
【简答题】汽车仪表常见种类有哪些?
【判断题】放大电路不需要加上合适的直流电源就能正常工作。
A.
正确
B.
错误
【单选题】下列()的运用,会使本月发生的生产费用等于本月完工产品的成本
A.
不计算在产品成本的方法;
B.
在产品按其所耗用的原材料费用计算的方法;
C.
约当产量法;
D.
在产品按年初固定计算的方法
【多选题】下列()运用,会使本月发生的生产费用等于本月完工产品成本
A.
不计算在产品成本法
B.
约当产量法
C.
在产品按所耗用原材料费用计算法
D.
在产品按年初固定资产成本计算方法
【简答题】在式子3m+5n-k中,当m=-2,n=1时,它的值为1;当m=2,n=-3时,它的值是_____.
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题