题目内容

The writer has learned from the writing of the three “thank you” letters that one should write to family members and teachers frequently.

A. 对
B. 错

查看答案
更多问题

判断char型变量ch是否为大写字母的正确表达式是。

A. ch>=’A’||ch<=’Z’
B. ch>=’A’&&ch<=’Z’
C. ’A’= D. ch>=A&&ch<=Z

满足字符变量ch是回车或者数字的C语言表达式是。

A. ch== ' \n'|| '0' =< ch<= '9'
B. ch== ' \n'&&ch>= '0' && ch<= '9'
C. ch== ' \n'|| ch>= '0' && ch<= '9'
D. ch== ' \n'|| ch>= '0' ||ch<= '9'

函数表示仅输出一个字符。

程序补充题:输入圆的半径,求圆的周长和面积,请选择正确的语句序号填写在空白处补充以下程序,完成上述功能。# define PI 3.14/*定义符号常量PI,其值为3.14*/int main(void){float r,l,s;;/*输入圆的半径*/l=2*PI*r; /*求周长*/;/*求面积*/printf("半径为%f,周长=%f,面积=%f", r,l,s);return 0;}a. # include b.# include c. scanf("%lf", &r)d.scanf("%f", &r)e. s=PI**r*rf.s=π**r*r

答案查题题库