皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
下面程序的输出结果是【 】。 inclde<iostreamn> include<math> using namespace std; class point { private: double x; double y; public: point(double a,double b) { x=a; y=b; } friend double distance(point a,point b); }; double distance(point a,point b) { return sqrt((a.x-b.x)*(a.x-b.x)+(a.y-b.y)*(a.y-b.y)); } int main() { point p1(1,2); point p2(5,2); cout<<distalice(p1,p2)<<endl; return 0; }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【判断题】一篇论文可选取3-8个词作为关键词。
A.
正确
B.
错误
【多选题】可见光分光光度计主要部件包括( )
A.
光源
B.
单色器
C.
.吸收池
D.
检测器
【单选题】消费者需要的( )创造了许多市场机会,决定了市场的差异性。
A.
多样性
B.
发展性
C.
相关性
D.
互补性
【判断题】出电梯时,应遵从“女士优先 ” 而不是离门近的人先出。
A.
正确
B.
错误
【单选题】外国旅游者在旅游团的活动结束后,不随团离境,无特殊原因要求延长签证时,导游人员应( )。
A.
陪同客人到公安局办理延长签证手续
B.
可满足其要求
C.
给予婉拒
D.
请示旅行社
【简答题】At one of the schools in London, the students can go into town in the afternoon. But they must to the school before six. One afternoon, Bob went to see a film. When he came back to the school, the sch...
【判断题】健身操自编动作考试中,某考试小组选取了Alan Walker的常速版《Faded》作为考试音乐。
A.
正确
B.
错误
【单选题】There ______ a basketball match between Class One and Class Three this afternoon.
A.
is going to have
B.
will have
C.
are going to be
D.
is going to be
【简答题】完形填空。 At one of the school in London, the students can go into town in the afternoon. But they must 1 to the school before six. One afternoon, Bob went to see a film. When he came back to the school, ...
【判断题】出电梯时,应遵从 “ 女士优先 ” 而不是离门近的人先出。
A.
正确
B.
错误
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题