1)#include < iostream >
2)# include < math.h >
3)using namespace std;
4)double max(double x,doubley);
5)void main()
6){
7)double a,b,c;
8)cout << " input two numbers:\n";
9)cin>>a>>b;
10)c=max(a,b);
11)cout<< " the squart of max imum="<< sqrt(c);
12)}
13)double max(doublex,doubley)
14){
15)if(x>y)
16)returnx;
17)else
18)returny;
19)}
A、變量定義
B、函數(shù)調(diào)用
C、函數(shù)聲明
D、函數(shù)定義
您可能感興趣的試卷
你可能感興趣的試題
1)#include < iostream >
2)# include < math.h >
3)using namespace std;
4)double max(double x,doubley);
5)void main()
6){
7)double a,b,c;
8)cout << " input two numbers:\n";
9)cin>>a>>b;
10)c=max(a,b);
11)cout<< " the squart of max imum="<< sqrt(c);
12)}
13)double max(doublex,doubley)
14){
15)if(x>y)
16)returnx;
17)else
18)returny;
19)}
A、2
B、2.0(小數(shù)位數(shù)由編譯器決定)
C、3
D、3.0(小數(shù)位數(shù)由編譯器決定)
1)#include < iostream >
2)# include < math.h >
3)using namespace std;
4)double max(double x,doubley);
5)void main()
6){
7)double a,b,c;
8)cout << " input two numbers:\n";
9)cin>>a>>b;
10)c=max(a,b);
11)cout<< " the squart of max imum="<< sqrt(c);
12)}
13)double max(doublex,doubley)
14){
15)if(x>y)
16)returnx;
17)else
18)returny;
19)}
A、input two number:前面
B、input two number:后面
C、input two number:下一行首列
D、不確定
1)#include < iostream >
2)# include < math.h >
3)using namespace std;
4)double max(double x,doubley);
5)void main()
6){
7)double a,b,c;
8)cout << " input two numbers:\n";
9)cin>>a>>b;
10)c=max(a,b);
11)cout<< " the squart of max imum="<< sqrt(c);
12)}
13)double max(doublex,doubley)
14){
15)if(x>y)
16)returnx;
17)else
18)returny;
19)}
A.input two numbers:\n
B.input two numbers:
C.cout<<”input two numbers:\n”
D.”please input two numbers:\n”
![](https://static.ppkao.com/ppmg/img/appqrcode.png)
最新試題
一個函數(shù)功能不太復(fù)雜,但要求被頻繁調(diào)用,則應(yīng)把它定義為()
下面函數(shù)模板定義中不正確的是()
在類中說明的成員可以使用關(guān)鍵字的是()
請問交換機和路由器各自的實現(xiàn)原理是什么?分別在哪個層次上面實現(xiàn)的?
局部變量能否和全局變量重名?
實時操作系統(tǒng)的特征是什么?
在IA32中一共有多少種辦法從用戶態(tài)跳到內(nèi)核態(tài)?
請你詳細(xì)地解釋一下IP協(xié)議的定義,在哪個層上面?主要有什么作用?TCP與UDP呢?
內(nèi)聯(lián)函數(shù)的優(yōu)缺點?通常在什么情況下使用?
關(guān)于對象概念的描述中,說法錯誤的是()