注意:此页面搜索的是所有试题
题目内容
(西安交通大学信息系统管理综合训练)
写出下列程序的功能。 clear s=0 input”请输入n的值”to n for i= 1 to n if i%2=1 s=s+i endif endfor ?s
参考答案