for(i=0;s[i-1]!='\0';i++) str[i]=s[i];
1个回答
for(i=0;s[i]!=' ';i++) str[i]=s[i];
将字符串s复制到字符串str.
相关问题
s=0 .s=s+1╱i.i=i
for next 循环s=0for i=1 to 10 step 2s=s+1i=I*2next i当循环变量后,i,s
Dim a(4) s=0 For i=1 to 4 s=s+a(i) Next i
s=0 for i = 1 to 10 if mod(i,3)0 loop else s=s+i endif endf
甲:i=1 乙:i=1000S=0 S=0WHILE i
s=0 i=1WHILE i≤4 s=i*s+i WEND PRINT s= ;sEND
s=0 For i=1 to 10 step 2 s=s+i Next Print s
vb题 s=0:n=5 for i=1 to n s=s+i next i print s;i 结果怎么是15
已知程序段:s=0 For i =1 to 10 step 2 s = s+1 i = i * 2 Next i 当循环
dim m(5,5),s(5) for i=1 to 5 s(i)=0 for j=1 to 5 m(i,j)=i+j