皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
从键盘输入三角形的三边长为 a , b , c ,按下面公式计算并输出三角形的面积。 程序代码如下,但程序运行后输出结果不正确,请找出 有问题 的语句。 #include #include int main() { float a, b, c; float s, area; printf("Input a,b,c:"); scanf("%f,%f,%f",&a,&b,&c); // 第1处 if (a+b>c && b+c>a && a+c>b) // 第2处 { s = 1/2 * (a + b + c); // 第3处 area = sqrt(s * (s - a) * (s - b) * (s - c)); // 第4处 printf("area=%.2f\n", area); } else { printf("It is not a triangle\n"); } return 0; }
A.
第1处
B.
第2处
C.
第3处
D.
第4处
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】I am sorry I won't be ab1e to attend the business meeting schedu1ed for next Friday.
A.
我无法出席拟于下星期五举行的业务会议,深表歉意。
B.
不巧的很,我没有时间,下周五我已经安排了生意谈判。
C.
不好意思,我实在来不及参加下周五进行的业务会谈。
【简答题】He’s the member of staff who takes care of all the 1____ of perishables, so if you notice we’re getting 2____ in flour or sugar or something, make sure you let him know so he can 3___an 4___.
【单选题】活动前,保育员应根据教育目标协助教师启发幼儿对将要进行的活动进行思考,协助教师稳定幼儿的情绪,照顾个别幼儿和体弱幼儿,()。
A.
做好物质准备
B.
与教师共同创设一个和谐、宽松的活动氛围
C.
准备好材料
D.
准备好设备、物品和材料
【判断题】6.产品是由零部件承力,由结构联接而成。
A.
正确
B.
错误
【简答题】Abby Subark is a mother of two from Boston. “For my kids, I’m nervous. I don’t know if they’ll be able to achieve their American dream.” She may be right. More than hard work or education, the best wa...
【单选题】—If you keep on breaking the rules, you ’ll be fired. —____? I don’t care.
A.
What for
B.
How come
C.
So what
D.
Why so
【简答题】If you had to sum up the problems of American health care in two words, they would be 'cost' and 'coverage'. The country spends 16% of its GDP on health. Yet a six of the population lacks medical 【S1】...
【简答题】he ’ s the member of staff who takes care of all the 1____ of perishables, so if you notice we ’ re getting 2____ in flour or sugar or something, make sure you let him know so he can 3___an 4___.
【单选题】If someone says”I know the word', he should not only understand its meaning but also be able to pronounce, spell,and ________ it。
A.
explain
B.
recognize
C.
memorize
D.
use
【单选题】You are to be fired if you are late again. ______? I don't care.
A.
Why not
B.
What for
C.
How come
D.
So what
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题