题目内容

液化的天然气

查看答案
更多问题

请补充函数proc(),该函数的功能是:分类统计一个字符串中元音字母和其他字符的个数(不区分大小写)。 例如,输入imnIaeouOWC,结果为:A:1 E:1 1:2 O:2U:1 other:4。 注意:部分源程序给出如下。 请勿改动main()函数和其他函数中的任何内容,仅在函数proc()的横线上填入所编写的若干表达式或语句。 试题程序: #include<stdlib.h> #include<stdio.h> #include<conio.h> #define M 100 void proc(char *str,int bb[]) { char *p=str; int i=0; for(i=0; i<6; i++) ______; while(*p) { switch(*p) { case "A": case "a": bb[0]++; break; case "E": case "e": bb[1]++; break; case "I": case "i": bb[2]++; break; case "O": case "o": bb[3]++; break; case "U": case "u": bb[4]++; break; default: ______; } ______ } } void main() { char str[M],ss[6]="AEIOU"; int i; int bb[6]; system("CLS"); printf("Input a string:\n"); gets(str); printf("the string is:\n"); puts(str); proc(str, bb); for(i=0; i<5; i++) printf("\n%c: %d", ss[i], bb[i]); printf("\nother: %d", bb[i]); }

长纤维石棉

下列慢性胃炎保健指导中,不妥的是( )。【历年考试真题】

A. 养成细嚼慢咽的习惯
B. 戒烟戒酒
C. 腹痛时口服阿司匹林
D. 上腹饱胀、反酸时口服多潘立酮
E. 避免使用泼尼松及利舍平

为防止急性白血病患者继发感染,错误的护理措施是( )。【历年考试真题】

A. 做好口腔护理,经常漱口
B. 保持皮肤清洁,防止破损
C. 保持大便通畅,以防肛裂
D. 限制探视
E. 使用药物尽量采用肌内注射

答案查题题库