单击一次命令按钮之后,下列程序代码的执行结果为 private Sub Command1_Click()S=P(1) +P(1)+P(2)+P(3)+P(4)Print S: End Sub Public Function P(N As Integer) Static SumFor I=1 To n Sum=Sum+INext 1P=Sum End Function
单选题
单击一次命令按钮之后,下列程序代码的执行结果为 private Sub Command1_Click()S=P(1) +P(1)+P(2)+P(3)+P(4)Print S: End Sub Public Function P(N As Integer) Static SumFor I=1 To n Sum=Sum+INext 1P=Sum End Function