Traditional Culture Encyclopedia - Traditional customs - How to draw the prime number flow between 1 and 100?
How to draw the prime number flow between 1 and 100?
Rem language: Visual Basic 6.0
Sub Main()? begin
i = 2
do
j = 2
Until i mod j = 0 or j * j> me.
j = j + 1
ring
If j * j> I then
MsgBox i, vbInformation, "output"
If ... it will be over.
If not (I< 100), then quit Do.
i = i + 1
ring
End Sub? end
- Previous article:Our traditional Mid-Autumn Festival keynote speech
- Next article:Brief introduction of Wang Guoqing's art
- Related articles
- How do college students learn China traditional culture?
- The practice of square meat is commonplace.
- What is Confucianism?
- How to Make Spicy Dried RadishMaking Directions
- What does product operation do?
- What is a warehouse management system and what is its function?
- flash how to create a complementary animation
- How to build a partition wall indoors
- Which Baozi is good in Beijing
- How to draw a rose to look good sketch