表达式:Int(-10.1)+Sgn(10.1)的值为()。
第1题:
表达式Sgn(-2)-3.5的值是 ______ 。
A.-1.5
B.-2.5
C.-3.5
D.-4.5
第2题:
表达式type(3)in(int,float,complex)的值为__________。
第3题:
表达式(Fix(32.4)+Int(-32.4)+Sgn(32.4))的值为______。
第4题:
若下面程序运行时输出结果为
1,A,10.1
2,B,3.5
include <iostream>
using namespace std;
int main()
{
void test(int, char, doubie【 】);
test(1, 'A', 10.1 );
test(2, 'B');
return 0;
}
void test(int a, char b, double c)
{
cout<<a<<','<<b<<','<<c<<endl;
}
第5题:
若下列程序运行时输出结果为
1,A,10.1
2,B,3.5
请将程序补充完整。
include<iostream>
using namespace std;
int main()
{
void test(int,char,double______);
test(1,'A',10.1);
test(2,'B');
return 0;
}
void test(int a,char b,double c)
{
cout<<a<<','<<b<<','<<c<<end1;
}
第6题:
在VisualBasic中,下列表达式的值等于10的是()。
第7题:
下列函数中能返回数值表达式的整数部分值的是()
第8题:
表达式SGN(INT(SQR(ABS(-9.61))))的值是()
第9题:
表达式INT(5.8)的值为(),表达式CINT(5.8)的值为()。
第10题:
返回数值表达式值的符号值
返回表达式的平方根
返回表达式值的整数部分
返回表达式值的绝对值
第11题:
-9
-10
9
10
第12题:
Int(10.1)
Int(9.8)
Abs(Int(-10.6))
Int(Abs(-9.5))
第13题:
表达式int(4**.)的值为__________。
2
第14题:
表达式type(3)==int的值为__________。
第15题:
A.10.1*10.1
B.10.1*5.3
C.5.3*5.3
D.9.8*5.3
第16题:
表达式Int(-17.8)+Sgn(17.8)的值是( )。
A.18
B.-17
C.-18
D.-16
第17题:
下面表达式中,( )的运算结果与其他三个不同。
A.Exp(-3.5)
B.Int(-3.5)+0.5
C.-3.5
D.Sgn(-3.5)-2.5
第18题:
内置计算函数Sgn的功能是()
第19题:
表达式Fix(-32.68)+Int(-23.02)的值为()。
第20题:
表达式(-1)*sgn(-100+int(rnd*100))的值是()
第21题:
第22题:
0
1
随机数
-1
第23题:
-9
9
1
-1