紧急求VFP高手帮忙!!!

来源:百度知道 编辑:UC知道 时间:2024/05/23 00:07:25
本人对VFP不甚熟习,学校测试题没给答案,也不知道自己做对做错,希望有VFP高手花几分钟时间帮帮忙。大恩大德!救命呐!
题目在百度空间
http://hi.baidu.com/coolgafun/blog/item/a395d1199d6c8972dbb4bd25.html
答题在此处留名!我把全部身家给您了!

DCCDB CCCDD ACDBA DBBBD CDDCC BDDCD BDDBC AAACC ABCAB ACCBB CBDBA ADBDA
Program1
set talk off
clear
?"计算表达式的值"
input"输入X:"to X
input"输入Y:"to Y
input"输入Z:"to Z
?(X+Y+Z)/3-X*Z^(1/2)

Program2
set talk off
clear
input"请输入年份:" to a
if a/4=int(a/4) and a/100<>int(a/100) or a/400=int(a/400)
?"是闰年"
else
?"不是闰年"
endif

Program3
set talk off
clear
input"请输入X:" to x
if x/2=int(x/2)
?"是偶数"
else
?"是奇数"
endif

Program4
set talk off
clear
input"请输入X:" to x
do case
case x<1
y=x
case x<10
y=2*x-1
otherwise
y=3*x-11
endcase
?y

Program5
set talk off
clear
input"请输入一个成绩:" to x
do case
cas