VB 编写程序,计算 ,找出能使计算结果大于106的n的值
VB 编写程序,计算 ,找出能使计算结果大于106的n的值
日期:2014-04-13 14:05:02 人气:1
窗口FORM1,加LIST1
private sub form_load()
dim n
for n = 50 to 20000
if n*n>=106 or n+n>=106 then
doevents
list1.additem n
end if
loop
end sub
VB 编写程序,计算 ,找出能使计算结果大于106的n的值