将下面的程序填写完整,如要计算1+2……+10,请完成下面的程序,其中,s是单精度类型的变量。 Dim × as Integer,s as Singles=OFor X=1 to 10s=【 】
将下面的程序填写完整,如要计算1+2……+10,请完成下面的程序,其中,s是单精度类型的变量。 Dim × as Integer,s as Single
s=O
For X=1 to 10
s=【 】
相关考题:
将下面的程序填写完整,如要计算1+2+…+10,请完成下面的程序,其中,s是单精度类型的变量。Dim x as Integer,s as Singles=0For x=1 to 10s=【 】Next x
执行下面的程序段后,变量k中的值为 include void main( ) { int k=3,s[2]; s[ 执行下面的程序段后,变量k中的值为 #include<iostream.h> void main( ) { int k=3, s[2]; s[0]=k; k=s[1] *10; cout < < k;}A.不定值B.33C.30D.10
执行下面的程序段后,变量k中的值为 。 int k=3, s[2]; s[0]=k; k=s[0]*10;