单选题已知pi=3.1415926,执行ROUND(pi,4)的结果为()。A3.1415B3.1416C3.14162D3.000
单选题
已知pi=3.1415926,执行ROUND(pi,4)的结果为()。
A
3.1415
B
3.1416
C
3.14162
D
3.000
参考解析
解析:
暂无解析
相关考题:
以下程序的执行结果是【】。 include define PI____3.14159 const int R=10; void main() 以下程序的执行结果是【 】。include<iostream>define PI____3.14159const int R=10;void main(){double a,b;ac2*R*PI;b=R*R*PI;cout<<"a="<<a<<","<<"b="<<b<<endl;"}
(13)为把圆周率的近似值 3.14159 存放在变量 pi 中,应该把变量 pi 定义为( )。A)Dim pi As IntegerB)Dim pi(7) As IntegerC)Dim pi As SingleD)Dim pi As Long
C++代码的错误在哪 #includeiostreamviod mian(){ const double pi=3.1415926; double radius; double areas; cout"input radius:"endl; cinradius; areas=pi*radius*radius; cout"the areas"radius"is"areas"\n"endl;}哪里有错啊,高手指教???
为把圆周率的近似值3.14159存放在变量pi中,应该把变量pi定义为A.Dim pi As IntegerB.Dim pi(7)As IntegerC.Dim pi As SingleD.Dim pi As Long
程序运行结果为______。#define R 3.0#define PI 3.1415926#define L 2*PI*R#define S PI*R*Rmain(){ printf("L=%f S=%f\n",L,S);}A.L=18.849556 S=28.274333B.18.849556=18.849556 28.274333=28.274333C.L=18.849556 28.274333=28.274333D.18.849556=18.849556 S=28.274333
请把下面程序补充完整,正确答案是( )。 main( ) { float radius,length,area,volume; printf("Input a radius:"); Scanf("%f",radius); length=2.0*PI*radius; /*引用无参宏求周长*/area=PI*radius*redius; /*引用无参宏求而积*/ volume=PI*radius*radius*radius*3/4; /*引用无参宏求体积*/ printf("length=%.2f,area=%.2f,volume=%.2f\n",length,area,volume); }A.PI=3.1415926B.Const PI=3.14159C.#define PI3.1415926D.Float PI=3.14159
当执行下列宏定义命令后,S的值为 ( ) # defineR3.0 # define PI 3.1415926 # define L2 * PI * R # define S PI * R * RA.3.1415926B.18.849556C.3D.28.2743334
磁航线角90°,航空器向台飞行,测得CDF=120°、已飞距离90KM,未飞距离180KM、偏离角和偏航角为()。A、PI=-2°PH=-4°B、PI=+2°PH=+4°C、PI=+4°PH=+2°D、PI=4°PH=-2°
单选题为把圆周率的近似值3.14159存放在变量pi中,应该把pi定义为( )。ADim pi As IntegerBDim pi(7)As IntegerCDim pi As SingleDDim pi As Long
单选题进程Pi请求资源Rj的数目可表示为()A〡(Rj,Pi)〡B〡(Pi,Rj)〡C(Pi,Rj)D(Rj,Pi)