皮皮学,免费搜题
登录
搜题
【单选题】
以下程序的功能是:给r输入数据后计算半径为r的圆面积s。程序编译时出错。main()/*Beginning */{ int r; float s;scanf("%d",&r);s=π*r*r; printf("s=%f\n",s);}出错的原因是
A.
注释语句书写位置错误
B.
存放圆半径的变量r不应该定义为整型
C.
输出语句中格式描述符非法
D.
计算圆面积的赋值语句中使用了非法变量
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】黄柏的主产地是
A.
四川
B.
广东
C.
河北
D.
东北
E.
广西
【简答题】机构运动简图是 的简单图形
【简答题】The verb "make" combines with other words in phrases such as "make an effort" and "make a mess" as we see in Text A. Complete the following sentences with "make" phrases, some of which might not be fr...
【单选题】黄柏的主产地是
A.
江苏
B.
广东
C.
辽宁
D.
四川
【单选题】黄柏的主产地是
A.
江苏
B.
广东
C.
辽宁
D.
四川
E.
河南
【简答题】Match the words with their definitions. Look back at the article "The Nature of News" to check your answers.
【简答题】黄柏的主产地是
【简答题】Last month, the public address system at Earl's Court subway station in London was ordered to get the noise down. Passengers, it seems, had had enough of being told the blindingly obvious: "Stand back...
【简答题】机构运动简图是 的简单图形。
【简答题】Once you have responded to each question below and doubled checked your answers, click the "Final Check" button at the bottom of the page and 'Show answers' to find out if your answers are correct. Yo...