皮皮学,免费搜题
登录
搜题
【简答题】
下列程序的功能是:当发生窗体的单击事件时,求出3~1000之间的所有素数的和以及所有能被3和5整除的数的和(素数是指只能被1和它本身整除的数),并在窗体上把这两个和显示出来。 Private Sub Form_Click() Dim s1 As Long,s2 As Long Dim i As Integer For i=3 To 1000 If prime(i) Then s1=s1+i Else If【 】Then s2=s2+i End If Next i Print s1,s2 End Sub Public Function prime(ByVal n As Integer)As Boolean Dim j As Integer For j=2 To n-1 If n Mod j=0 Then Exit For End If Next j If j=n Then 【 】 Else prime=False End If End Function
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】预习第7课两节内容完成填空. 第一节自主预习 1.必要的限制是对 的保护。无限制的 ,只会走向 的反面,导致混乱与伤害。 2.社会生活中,有边界才有 ,守 才能享自由。 3.在法律意义上,平等具有两层含义:一是同等情况 ;二是不同情况 。 4.法律面前人人平等,是社会文明进步的 ,也是社会主义法治的基本原则之一。 第2节 1.作为公民,应自觉 、遇事 、解决问题 ,树立守法光荣、违法可耻的法治意识...
【简答题】for, claim, on, in, at, it, that under, with, insurer, insurance, call Dear Sirs, Thank you for your letter of 20 May with a claim (1) breakages. Your (2) is for GB£200 (3) the shipment delivered on 1...
【判断题】5G属于短距离移动通信技术。( )
A.
正确
B.
错误
【单选题】Subject: Ask for orders From: Liz4589@tom. com To: househocom@gmail. com Dear Sirs, We thank you for your letter of 25 June, and are glad to inform. you that all the items listed in your enquiry are i...
A.
To reply a complaint
B.
To answer some questions
C.
To enclose an invoice
D.
To expect some orders
【单选题】Your idea seems to be good but it isn't ______.
A.
practical
B.
possible
C.
plentiful
D.
precious
【简答题】Dear Sirs, We thank you for your enquiry of August 10th and are pleased to send you Our quotation for cotton and silk blouses。We have indicated those items that are available from stock.For the remain...
【单选题】中国人民银行在公开市场上买进债券会导致( )
A.
货币供应量增加
B.
商业银行存款准备金增加
C.
货币供应量减少
D.
商业银行存款准备金减少
【判断题】利率敏感性缺口与流动性缺口相同。 ( )
A.
正确
B.
错误
【单选题】中国人民银行在公开市场上买进债券会导致( )
A.
货币供给量增加
B.
商业银行存款准备金增加
C.
货币供给量减少
D.
商业银行存款准备金减少
【简答题】阅读理解。 You know those days when it seems the world isn't on your side? When everything seems to go wrong. However trivial (乏味的)? Well, now there's a cure-a website with the sole aim of putting a smile ...
相关题目: