VB中,取整函数是()。A、Int()B、Rnd()C、Val()D、Cstr()
VB中,取整函数是()。
- A、Int()
- B、Rnd()
- C、Val()
- D、Cstr()
相关考题:
有如下类定义:class Bag {public:Bag(int p,char s='M'):price(p),size(s) { count++; }~Bag() { count--; }int GetPrice() { return price; }int GetPrice() const { return price; }void SetPrice(int val) const { price=val; }private:int price;char size;static int count;};下列关于类成员的叙述中,正确的是( )。A. 成员函数GetPrice存在重定义B.构造函数的参数不能设置默认值C.析构函数中不能访问静态数据成员D.成员函数SetPrice不能定义为常函数
用随机函数产生(100,200)范围整数的表达式是______。A.Int(101*Rnd+100)B.Int(100*Rnd+100)C.Int(99*Rnd+100)D.Int(100*Rnd+99)
下列VB表达式中,可以得到大于等于15且小于等于50随机整数的是()。A、Int(Rnd*50)B、Int(Rnd*36+15)C、Int(Rnd*35+15)D、Int(Rnd*35)+15
产生[10,37]之间的随机整数的VB表达式()A、Int(Rnd(1)*27)+10B、Int(Rnd(1)*28)+10C、Int(Rnd(1)*27)+11D、Int(Rnd(1)*28)+11
能够产生一个三位随机整数的函数表达式是()。A、Int(Rnd*900+100)B、Int(Rnd*900)+100C、Int(Rnd*1000)D、Int(Rnd*1100-100)E、Int(Rnd*1100)-100
判断题在VB中,Rnd()是随机函数。A对B错