æ°å»ºä¸ä¸ªç¨åºï¼æ件èåââæ°å»ºââç¨åºââæ°å»ºæ件ï¼ï¼å代ç ï¼ input "请è¾å
¥nçå¼:" to n
s=0
temp=0
for i=1 to n
temp=0
for j=1 to i
temp=temp+j
next
s=s+temp
next
?"s=1+(1+2)+(1+2+3)+...+(1+2+3+...+n)çå¼æ¯:",s
ç¶åï¼ç´æ¥ç¹å»æå¹å·ï¼ä¿å并è¿è¡ï¼å¾ï¼
温馨提示:内容为网友见解,仅供参考