浙江省计算机二级vb上机试题题库
浙江省计算机二级vb上机试题题库浙江省计算机二级vb上机试题题库二、编程题:1 判断一个数是否是素数。Private sub form_click()Dim x as integer,I as integerX=text1For i=2 to sqr(x) …If x mod i=0 then exit forNext iIf i>sqr(x) thenText2=”x是素数”ElseTex...
2024-03-05 20 0
浙江省计算机二级vb上机试题题库浙江省计算机二级vb上机试题题库二、编程题:1 判断一个数是否是素数。Private sub form_click()Dim x as integer,I as integerX=text1For i=2 to sqr(x) …If x mod i=0 then exit forNext iIf i>sqr(x) thenText2=”x是素数”ElseTex...