写出下列程序的功能。 clear s=0 input”请输入n的值”to n for i= 1 to n if i%2=1 s=s+i endif endfor ?s
出自:西安交通大学信息系统管理综合训练