• 2022-06-06
    题目:求出1到100之间的奇数积、偶数和。SET TALK OFF***********SPACE**********【?】s2=1FOR I=1 to 100***********SPACE********** IF MOD(i,2)=【?】 s1=s1+I Else***********SPACE********** s2【?】 ENDIFNEXT?"奇数积为:",s2?"偶数和为:",s1SET TALK ON
  • 举一反三