表达式18/4*sqrt(4.0)/8值的数据类型为______。A.intB.floatC.doubleD.不确定
表达式18/4*sqrt(4.0)/8值的数据类型为______。
A.int
B.float
C.double
D.不确定
表达式18/4*sqrt(4.0)/8值的数据类型为______。
A.int
B.float
C.double
D.不确定
表达式18/4*sqrt(4.0)/5值的数据类型是()
A.int
B.float
C.double
D.不确定
有如下表达式19/30*.sqrt(4.0)/5,则该表达式值数据类型为 ______。
A.int
B.float
C.double
D.不确定
若变量A=25.0,B=10.0,则FORTRAN77表达式A* *(1/2)+8*SQRT(A)* B * *(-2)/B的值是()。
(A) 1
(B) 1.04
(C) 1.4
(D) 1.004
计算如下表达式的值:Sqrt(4)。 Calculate the value of the following expression: Sqrt (4). a. 1 b. 2 c. 3 d. 4
A.a
B.b
C.c
D.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:"; 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)}
执行完第7行后,a的值是:()
A. 0
B. 1
C. 变量不存在
D. 随机值
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!