【简答题】从键盘输入2-9之间任意一个整数,求n+nn+nnn+......并输出,如n=2,则计算2+22 set talk off clear input "请输入整数n:" to n store 0 to for i=1 to n t=t*10+ s=s+t endfor set talk on return
【简答题】从键盘输入2-9之间任意一个整数,求n+nn+nnn+......,如n=2,则计算2+22;n=3,则计算3+33+333 SET TALK OFF CLEAR INPUT TO N ____________ FOR I = 1 TO N T=________ S=S+T ENDFOR __________ SET TALK ON