早教吧 育儿知识 作业答案 考试题库 百科 知识分享

谁会VisualFoxPro?随意输入5个数,积数求和,偶数求积ps:一定要用VisualFoxPro手法解答.

题目详情
谁会VisualFoxPro?随意输入5个数,积数求和,偶数求积
ps:一定要用VisualFoxPro手法解答.
▼优质解答
答案和解析
clear
dime x(5)
input "请输入第一个数:" to x(1)
input "请输入第二个数:" to x(2)
input "请输入第三个数:" to x(3)
input "请输入第四个数:" to x(4)
input "请输入第五个数:" to x(5)
i=1
jsh=0 &&奇数和
osj=1 &&偶数积
do while i