在窗体上画一个命令按钮,然后编写如下程序: Function fun(By Val num As Long)As Long Dim k As Long k=1 num=Abs(num) Do While numk=k * (num Mod 10)num=num10 Loop fun=k End Function Private Sub Command1_Click() Dim n As Long
主观题
在窗体上画一个命令按钮,然后编写如下程序: Function fun(By Val num As Long)As Long Dim k As Long k=1 num=Abs(num) Do While numk=k * (num Mod 10)num=num10 Loop fun=k End Function Private Sub Command1_Click() Dim n As Long