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.0
B.1
C.變量不存在
D.隨機(jī)值
您可能感興趣的試卷
你可能感興趣的試題
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”
![](https://static.ppkao.com/ppmg/img/appqrcode.png)
最新試題
Windows消息調(diào)度機(jī)制是()
多態(tài)類中的虛函數(shù)表是Compile-Time,還是Run-Time時(shí)建立的?
關(guān)于this指針使用說(shuō)法正確的是()
應(yīng)用程序在運(yùn)行時(shí)的內(nèi)存包括代碼區(qū)和數(shù)據(jù)區(qū),其中數(shù)據(jù)區(qū)又包括哪些部分?
類中的靜態(tài)成員與類的數(shù)據(jù)成員有什么區(qū)別?
關(guān)于對(duì)象概念的描述中,說(shuō)法錯(cuò)誤的是()
類ClassB從ClassA派生,那么ClassA*a=newClassB(…);試問該表達(dá)是否合法?為什么?
指針類型的作用?子類指針與父類指針強(qiáng)制轉(zhuǎn)換時(shí)要注意什么?
局部變量能否和全局變量重名?
深拷貝和淺拷貝的區(qū)別?