摘要:
程序界面:代码:'判断参数a是否为素数,若是素数,返回True;否则返回FalsePrivate Function SuShu(a As Integer) As Boolean Dim i As Integer For i = 2 To a - 1 If a Mod i = 0 Then Exit For Next i If i = a Then SuShu = True Else SuShu =... 阅读全文
posted @ 2005-06-17 19:19 梦想的边缘 阅读(477) 评论(0) 推荐(0) 编辑