Private Sub Command1_Click()

a=Val(InputBox("请输入a的值="))b=Val(InputBox("请输入a的值="))x=a+bIfa>bThen x=a-bEnd IfPrint xEnd Sub若运行时从键盘输入a和b分别为3和4,则程序输出的结果为() A.1 B. 7 C. 10 D. 11

时间:2023-09-17 09:41:05

相似题目