网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
在JavaScript中,下面哪一条语句在页面上显示圆周率π。()
A.document.write(Math.Pi)
B.document.write(Math.pi)
C.document.write(Math.PI)x
参考答案
更多 “ 在JavaScript中,下面哪一条语句在页面上显示圆周率π。()A.document.write(Math.Pi)B.document.write(Math.pi)C.document.write(Math.PI)x ” 相关考题
考题
JavaScript中,显示81的平方根的正确方法是?()
A.document.write(math.sqrt(81))B.document.write(Math.sqrt(81))C.document.write(Math.sqrt”81”)D.document.write(Math.sqrt”81”)
考题
在JavaScript中,下面哪一个语句可以作为for循环有效的第一行?()A.for(x=1;x
在JavaScript中,下面哪一个语句可以作为for循环有效的第一行?()A.for(x=1;xB.for(x==1;xC.for(x=1;x=6;x+=1)
考题
math库包含4个数学常数,math.pi表示自然对数,math.e表示圆周率
热门标签
最新试卷