用VB写出计算s=1⼀2+1⼀4+1⼀6+1⼀8+1⼀10+1⼀12

2025年02月22日 22:41
有2个网友回答
网友(1):

for i=1 to 6
s=s+ 1/(2 * i)
next i

网友(2):

问题太不明确了,s是什么类型的呢?