皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
#include #include using namespace std; class complex { double real; // 复数的实部 double imag; // 复数的虚部 public: void init( double r, double i) // 给 real 和 imag 赋初值 { real = r; imag = i; } double realcomplex( ) // 求复数的实部值 { return real; } double imagcomplex( ) // 求复数的虚部值 { return imag; } double abscomplex( ) // 求复数的绝对值 { double t ; t = real * real + imag * imag; return sqrt(t) ; } }; void main() { complex A; A .init(3.5 ,4.8 ); cout << "real of complex A = " << A .realcomplex( ) << endl; cout << "imag of complex A =" << A .imagcomplex( ) << endl; cout << "abs of complex A =" << A .abscomplex ( ) << endl; }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】如果一个飞机上液压系统适用MIL-H-5606液压油,却加入MIL-H-8446(SKYDROL 500A/B)液压油,导致的后果是
A.
没有影响
B.
系统将被污染,密封圈损坏
C.
系统将被污染,密封圈不会损坏
D.
系统不会受污染,密封圈会损坏
【单选题】患者女性, 32 岁 , 妊娠 31 周。少量阴道流血,以往曾有 3 次早产史。主要处理应是
A.
抑制宫缩,促进胎儿肺成熟
B.
左侧卧位
C.
促进宫缩
D.
任其自然
E.
氧气吸入,给予止血剂
【单选题】如果一个飞机上液压系统适用MIL-H-5606液压油,却加入MIL-H-8446(SKYDROL500A/B)液压油,导致的后果是()。
A.
没有影响
B.
系统被污染,密封圈损坏
C.
系统被污染,密封圈不会损坏
D.
系统不会受污染,密封圈会损坏
【单选题】患者女性,32岁。妊娠31周,少量阴道流血,以往曾有3次早产史。主要处理应是
A.
抑制宫缩,促进胎儿肺成熟
B.
左侧卧位
C.
促进宫缩
D.
任其自然
E.
氧气吸人,给予止血剂
【单选题】患者女性,32岁。妊娠31周。少量阴道流血,以往曾有3次早产史。主要处理应是
A.
左侧卧位
B.
促进宫缩
C.
任其自然
D.
氧气吸入,给予止血剂
E.
抑制宫缩,促进胎儿肺成
【简答题】There are different pubs in towns and city , such as _______pubs, _________pubs, and pubs owned by large compnies
【单选题】初中部学生自行选择推荐书目中的几本图书阅读,提交读书笔记 6) 活动 流程 : 1、图书阅读:可自行选择线上线下的阅读方式 ( 1)全体师生通过邀请码cp9139进入“亲子共读,爱上悦读”活动小组。 ( 2)小组里面的话题有活动的整体流程与作品要求以及初中部的读书笔记征集处。 ( 3)资料里面有亲子共读推荐书目,推荐书目由权威专家推荐,符合孩子的心智发展与阅读兴趣。阅读图书后可以在评论区发表自己的...
A.
1
B.
2
C.
3
D.
4
【单选题】Which of the following is TRUE about p ub games in the British pubs?
A.
Pub quiz is the most representative entertainment in British pubs
B.
There are not many kinds of pub games in British pubs
C.
British people are interested in pub games
D.
British people don't like playing darts
【简答题】Pubs are an important part of British life. Pubs, formally public houses, are common in towns and villages in England.People usually talk,eat, drink,meet their friends and relax there.You can order so...
【判断题】在实际工作中,会计人员应先编制会计分录,再根据会计分录填制会计凭证。
A.
正确
B.
错误
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题