1)#include < iostream >
2)#include < cmath >
3)using namespace std;
4)double max(double x,doubley)
5){
6)if(x>y)
7)return x;
8)else
9)return y;
10)}
11)int main()
12){
13)doublea,b,c;
14)cout <<" input two numbers:\n";
15)cin >> a >> b;
16)c=max(a,b);
17)cout <<" the squart of max imum="<< sqrt( c );
18)}
A.整型
B.單精度浮點(diǎn)型
C.雙精度浮點(diǎn)型
D.字符型
您可能感興趣的試卷
你可能感興趣的試題
1)#include < iostream >
2)#include < cmath >
3)using namespace std;
4)double max(double x,doubley)
5){
6)if(x>y)
7)return x;
8)else
9)return y;
10)}
11)int main()
12){
13)doublea,b,c;
14)cout <<" input two numbers:\n";
15)cin >> a >> b;
16)c=max(a,b);
17)cout <<" the squart of max imum="<< sqrt( c );
18)}
A.1個(gè)
B.2個(gè)
C.3個(gè)
D.4個(gè)
1)#include < iostream >
2)#include < cmath >
3)using namespace std;
4)double max(double x,doubley)
5){
6)if(x>y)
7)return x;
8)else
9)return y;
10)}
11)int main()
12){
13)doublea,b,c;
14)cout <<" input two numbers:\n";
15)cin >> a >> b;
16)c=max(a,b);
17)cout <<" the squart of max imum="<< sqrt( c );
18)}
A.2
B.2.0000000000000000
C.3
D.3.0000000000000000
1)#include < iostream >
2)#include < cmath >
3)using namespace std;
4)double max(double x,doubley)
5){
6)if(x>y)
7)return x;
8)else
9)return y;
10)}
11)int main()
12){
13)doublea,b,c;
14)cout <<" input two numbers:\n";
15)cin >> a >> b;
16)c=max(a,b);
17)cout <<" the squart of max imum="<< sqrt( c );
18)}
A.input two number:前面
B.input two number:后面
C.input two number:下一行首列
D.不確定
1)#include < iostream >
2)#include < cmath >
3)using namespace std;
4)double max(double x,doubley)
5){
6)if(x>y)
7)return x;
8)else
9)return y;
10)}
11)int main()
12){
13)doublea,b,c;
14)cout <<" input two numbers:\n";
15)cin >> a >> b;
16)c=max(a,b);
17)cout <<" the squart of max imum="<< sqrt( c );
18)}
A.inputtwonumbers:\n
B.inputtwonumbers:
C.cout<<” input two numbers:\n”
D.”input two numbers:\n”
1)#include < iostream >
2)#include < cmath >
3)using namespace std;
4)double max(double x,doubley)
5){
6)if(x>y)
7)return x;
8)else
9)return y;
10)}
11)int main()
12){
13)doublea,b,c;
14)cout <<" input two numbers:\n";
15)cin >> a >> b;
16)c=max(a,b);
17)cout <<" the squart of max imum="<< sqrt( c );
18)}
A.the squart of max imum=sqrtC.
B.the squart of max imum=3.08221
C.the squart of max imum=3
D.the squart of max imum=9.0
![](https://static.ppkao.com/ppmg/img/appqrcode.png)
最新試題
所謂數(shù)據(jù)封裝就是將一組數(shù)據(jù)和與這組數(shù)據(jù)有關(guān)操作組裝在一起,形成一個(gè)實(shí)體,這實(shí)體也就是()
存儲(chǔ)過(guò)程是什么?有什么用?有什么優(yōu)點(diǎn)?
一個(gè)父類寫(xiě)了一個(gè)virtual函數(shù),如果子類覆蓋它的函數(shù)不加virtual,也能實(shí)現(xiàn)多態(tài)?
對(duì)基類和派生類的關(guān)系描述中,錯(cuò)誤的是()
進(jìn)程和線程的差別。
為什么析構(gòu)函數(shù)通常聲明為虛函數(shù),而構(gòu)造函數(shù)不能是虛函數(shù)?
實(shí)時(shí)操作系統(tǒng)定義是什么?
字符指針、浮點(diǎn)數(shù)指針、以及函數(shù)指針這三種類型的變量哪個(gè)占用的內(nèi)存最大?為什么?
請(qǐng)問(wèn)交換機(jī)和路由器各自的實(shí)現(xiàn)原理是什么?分別在哪個(gè)層次上面實(shí)現(xiàn)的?
Windows消息調(diào)度機(jī)制是()