关于vf6.0程序设计的习题

日期:2021-09-08 17:04:37 人气:1

关于vf6.0程序设计的习题

1.
dim x as single,i as integer
x=1
for i=2 to 100
if i mod 2=0 then x=x-1/i else x=x+1/i
next
print x
2.
Private Function IsPrime( num As Integer) As Boolean
Dim I As Integer
IsPrime=
    A+
热门评论