发布网友 发布时间:2024-10-23 18:24
我来回答
共1个回答
热心网友 时间:2024-11-01 19:52
set talk offdimension a(8)s=0a(1)=1a(2)=2for i=2 to 8s=a(i)/a(i-1)*(-1)^iif i<8a(i+1)=a(i)+a(i-1)endifendfor?"结果为:",sset talk on