按键精灵8 判断语句If j=0 then jym=12 ElseIf j=1 then jym=4 elseIf j=
来源:学生作业帮 编辑:作业帮 分类:数学作业 时间:2024/10/05 05:25:53
按键精灵8 判断语句
If j=0 then jym=12
ElseIf j=1 then jym=4
elseIf j=2 then jym=5
elseIf j=3 then jym=453
elseIf j=4 then jym=5
elseIf j=5 then jym=6
elseIf j=6 then jym=7
elseIf j=7 then jym=8
elseIf j=8 then jym=4
elseIf j=9 then jym=3
elseIf j=10 then jym=2
End if
这样的语句对吗,如有错请改正
If j=0 then jym=12
ElseIf j=1 then jym=4
elseIf j=2 then jym=5
elseIf j=3 then jym=453
elseIf j=4 then jym=5
elseIf j=5 then jym=6
elseIf j=6 then jym=7
elseIf j=7 then jym=8
elseIf j=8 then jym=4
elseIf j=9 then jym=3
elseIf j=10 then jym=2
End if
这样的语句对吗,如有错请改正
If j=0 then :jym=12
elseIf j=1 then : jym=4
elseIf j=2 then :jym=5
elseIf j=3 then :jym=453
elseIf j=4 then :jym=5
elseIf j=5 then :jym=6
elseIf j=6 then :jym=7
elseIf j=7 then :jym=8
elseIf j=8 then :jym=4
elseIf j=9 then :jym=3
elseIf j=10 then :jym=2
End if
通常人们喜欢用下面这种 :
select case j
case 1
jym=4
case 2
jym=5
case 3
jym=453
case 4
jym=5
case 5
jym=6
case 6
jym=7
case 7
jym=8
case 8
jym=4
case 9
jym=3
case 10
jym=2
End Select
elseIf j=1 then : jym=4
elseIf j=2 then :jym=5
elseIf j=3 then :jym=453
elseIf j=4 then :jym=5
elseIf j=5 then :jym=6
elseIf j=6 then :jym=7
elseIf j=7 then :jym=8
elseIf j=8 then :jym=4
elseIf j=9 then :jym=3
elseIf j=10 then :jym=2
End if
通常人们喜欢用下面这种 :
select case j
case 1
jym=4
case 2
jym=5
case 3
jym=453
case 4
jym=5
case 5
jym=6
case 6
jym=7
case 7
jym=8
case 8
jym=4
case 9
jym=3
case 10
jym=2
End Select
按键精灵8 判断语句If j=0 then jym=12 ElseIf j=1 then jym=4 elseIf j=
vb中判断语句 If A(i,j) =0 Then A(i,j)=k,其中动态数组A()被赋值为0,
10.有如下选择结构:If x>90 then y=x elseIf x>80 then y=x-1 else y=1-
asp 循环,if then elseif then
for(j=122;j>0;j--)
for(j=i;j>0;j--)
for(j=0;j
for(j=1;j
下列语句序列执行后,i 的值是?int i=8,j=16; if( i-1 > j )
为什么matlab中continue语句不起作用啊? 源代码: for j=1:size(m) if (m(j)~=0)
下列语句序列执行后,i 的值为什么是8呢?int i=8,j=16; if( i-1 > j ) i--; else j
for(j=i+n+1; j>i; j--)和s[j+1]= s[j];