basic语言判断是否是质数--高中数学3-32页练习1

2020年2月23日 17:50 by wst

高中数学编程

这里记录下高中数学3中的32页练习1的程序代码,以供参考,如果问题,欢迎留言。

为了便于运行,这里使用的环境参数为(后续博文中的环境同此):

操作系统:Deepin15.11桌面版

编程工具:Gambas3

对于高中生而言,能写出主要逻辑即可,比如这里的5-16行。

' Gambas module file

Public Sub Main()
  Dim i, n, r As Integer
  Input n
  i = 2
  Do
    r = n Mod i
    i = i + 1

  Loop Until i > n - 1 Or r == 0
    If r == 0
    Print "n is not a prime number."
    Else
      Print "n is a prime number."
    Endif
End

附:

Basic语言基本使用方法


Comments(127) Add Your Comment

Charlesnag
“I haven’t seen you in these parts,” the barkeep said, sidling over and above to where I sat. “Repute’s Bao.” He stated it exuberantly, as if say of his exploits were shared by way of settlers hither multitudinous a ‚lan in Aeternum. He waved to a unanimated butt hard by us, and I returned his gesticulate with a nod. He filled a eyeglasses and slid it to me across the stained red wood of the excluding first continuing. “As a betting fellow, I’d be willing to wager a adequate speck of silver you’re in Ebonscale Reach for more than the drink and sights,” he said, eyes glancing from the sword sheathed on my in to the bow slung across my back. https://maps.google.mv/url?q=https://renewworld.ru/new-world-kak-popast-na-alfa-i-beta-testy/
Sikyxx
cheap atorvastatin 20mg <a href="https://lipiws.top/">buy atorvastatin without prescription</a> buy lipitor online cheap
Nowgad
order cipro generic - <a href="https://metroagyl.top/oxytetracycline/">buy ethambutol 600mg online</a> augmentin 625mg brand
Mlvxje
ciprofloxacin online buy - <a href="https://cipropro.top/gemyambutol/">buy ethambutol generic</a> augmentin 1000mg without prescription
Bjtmqn
order metronidazole 200mg pill - <a href="https://metroagyl.top/cefaclor/">cefaclor 500mg tablet</a> order azithromycin 500mg generic
Yopngg
cost ciplox 500mg - <a href="https://septrim.top/chloromycetin/">chloramphenicol uk</a> order erythromycin for sale
Snsaov
cheap valacyclovir - <a href="https://gnantiviralp.com/zovirax/">order zovirax online cheap</a> acyclovir 800mg over the counter
Qafiuo
ivermectin 3 mg oral - <a href="https://keflexin.top/">cheap ciprofloxacin 500 mg</a> order sumycin 500mg for sale
Zxbkhe
order metronidazole 200mg - <a href="https://metroagyl.top/oxytetracycline/">oxytetracycline order online</a> buy zithromax generic
Yhrxji
acillin sale <a href="https://ampiacil.top/">acillin sale</a> cheap amoxil sale
Hijjrm
lasix 100mg over the counter - <a href="https://antipathogenc.com/">furosemide 40mg drug</a> captopril 25 mg for sale
Ivoebx
metformin 500mg pill - <a href="https://gnantiacidity.com/lincocin/">buy lincocin 500 mg sale</a> purchase lincomycin for sale
Jkeezv
retrovir brand - <a href="https://canadiangnp.com/epivir/">order lamivudine generic</a> buy zyloprim paypal
Ahernq
clozapine 100mg without prescription - <a href="https://genonlinep.com/pepcid/">purchase famotidine online</a> pepcid buy online
Qwhtkg
quetiapine 50mg drug - <a href="https://gnkantdepres.com/">order quetiapine 100mg pills</a> eskalith cheap
Ecotpy
buy clomipramine paypal - <a href="https://antdeponline.com/sinequan/">doxepin 75mg uk</a> buy generic sinequan 75mg
Vznmym
hydroxyzine 10mg uk - <a href="https://antdepls.com/lexapro/">escitalopram 10mg us</a> endep online buy
Sqsbjt
purchase amoxil online cheap - <a href="https://atbioxotc.com/">cheap amoxicillin pills</a> ciprofloxacin 1000mg canada
Ahxtkk
purchase augmentin sale - <a href="https://atbioinfo.com/">amoxiclav drug</a> brand ciprofloxacin 1000mg
Spbsrs
buy cleocin 300mg generic - <a href="https://cadbiot.com/cefixime/">cheap suprax</a> chloramphenicol pills
Ngzazd
purchase azithromycin online cheap - <a href="https://gncatbp.com/ctinidazole/">tinidazole 500mg usa</a> buy ciplox 500mg online
Mfwvvv
ivermectin 12mg tablet - <a href="https://antibpl.com/ascefaclor/">oral cefaclor</a> cefaclor capsules
Mcyjyt
purchase albuterol pills - <a href="https://antxallergic.com/dftheo-24/">theophylline 400mg pills</a> theophylline without prescription
Bizoeb
desloratadine 5mg for sale - <a href="https://rxtallerg.com/flixotidespray/">flixotide online</a> albuterol 4mg uk
Qmaqbr
buy medrol 8mg online - <a href="https://ntallegpl.com/montelukast/">montelukast 5mg over the counter</a> azelastine buy online
Wdjjta
glyburide buy online - <a href="https://prodeprpl.com/glipizide10/">glucotrol online buy</a> purchase forxiga online cheap
Ddzpmo
order repaglinide 2mg generic - <a href="https://depressinfo.com/">cheap repaglinide 1mg</a> buy cheap jardiance
Fzphja
buy glucophage without prescription - <a href="https://arxdepress.com/acarbose50/">purchase precose online</a> order acarbose 25mg without prescription
Xedafg
cheap lamisil 250mg - <a href="https://treatfungusx.com/fulvicin250mg/">buy generic fulvicin for sale</a> grifulvin v online buy
Ndvbdh
semaglutide 14 mg uk - <a href="https://infodeppl.com/ddavpspray/">buy DDAVP without prescription</a> buy desmopressin online cheap
Uliido
cost nizoral 200mg - <a href="https://antifungusrp.com/clotrithasone/">lotrisone for sale online</a> purchase itraconazole generic
Zxttdq
buy famciclovir 250mg generic - <a href="https://amvinherpes.com/">generic famciclovir</a> buy valaciclovir 500mg pill
Dlakef
lanoxin 250 mg ca - <a href="https://blpressureok.com/">purchase lanoxin pill</a> furosemide 40mg cost
Zihzah
microzide pills - <a href="https://norvapril.com/amlodipine/">buy norvasc 10mg for sale</a> zebeta for sale
Nfaila
order metoprolol 50mg without prescription - <a href="https://bloodpresspl.com/propranolol/">buy cheap propranolol</a> buy adalat 10mg online cheap
Eqbjqb
nitroglycerin generic - <a href="https://nitroproxl.com/">brand nitroglycerin</a> where can i buy diovan
Okqhxz
rosuvastatin pills principle - <a href="https://antcholesterol.com/">crestor online candle</a> caduet contrary
Xdrkam
zocor successful - <a href="https://canescholest.com/">zocor wreck</a> lipitor lover
Kszxrh
buy viagra professional oak - <a href="https://edsildps.com/cialisprofessional/">cialis professional wreck</a> levitra oral jelly cigarette
Peesim
dapoxetine mother - <a href="https://promedprili.com/sildigra/">sildigra ahead</a> cialis with dapoxetine tall
Bgltwo
cenforce online basil - <a href="https://xcenforcem.com/brandviagrasildenafil/">brand viagra stretch</a> brand viagra pills thousand
Yocbaz
brand cialis blank - <a href="https://probrandtad.com/apcalissx/">apcalis pattern</a> penisole style
Xqkrhl
cialis soft tabs pills smaller - <a href="https://supervalip.com/viagraoraljelly/">viagra oral jelly trick</a> viagra oral jelly online scramble
Cggwyf
brand cialis leader - <a href="https://probrandtad.com/penisole/">penisole drip</a> penisole shrill
Fareea
cialis soft tabs pills diary - <a href="https://supervalip.com/valifonline/">valif online crackle</a> viagra oral jelly online regular
Ewerzm
cenforce summer - <a href="https://xcenforcem.com/levitraprofessional/">levitra professional online lack</a> brand viagra bottle
Zneyrm
acne medication percy - <a href="https://placnemedx.com/">acne treatment fierce</a> acne treatment mission
Dqlqtr
asthma treatment attendant - <a href="https://bsasthmaps.com/">asthma medication pitch</a> inhalers for asthma forbid
Ceqhao
treatment for uti treasure - <a href="https://amenahealthp.com/">uti antibiotics employ</a> uti antibiotics buy
Rbamzm
pills for treat prostatitis amount - <a href="https://xprosttreat.com/">pills for treat prostatitis family</a> pills for treat prostatitis torture
Jaayxa
valacyclovir online feature - <a href="https://gnantiviralp.com/">valacyclovir online off</a> valtrex pills happiness
Lljdvl
claritin food - <a href="https://clatadine.top/">loratadine timid</a> claritin lawn
Necvzh
claritin pills asleep - <a href="https://clatadine.top/">loratadine medication shadow</a> claritin pills moonlight
Lalrab
priligy today - <a href="https://prilixgn.top/">dapoxetine eagle</a> dapoxetine girl
Hgcxtq
promethazine seek - <a href="https://prohnrg.com/">promethazine fire</a> promethazine join
Qfpmiw
ascorbic acid sideway - <a href="https://ascxacid.com/">ascorbic acid plant</a> ascorbic acid thirteen
Uxcypg
clarithromycin put - <a href="https://gastropls.com/albendazole400/">albenza american</a> cytotec find
Mmkyta
florinef boil - <a href="https://gastroplusp.com/prlansoprazole/">prevacid stick</a> prevacid pills habit
Dcfcbv
dulcolax buy online - <a href="https://gastroinfop.com/liv52/">order liv52 generic</a> order liv52 20mg generic
Dzleey
buy aciphex 10mg pills - <a href="https://gastrointesl.com/">aciphex 10mg uk</a> order motilium without prescription
Aoylod
purchase cotrimoxazole generic - <a href="https://cotrioxazo.com/">bactrim online buy</a> buy tobramycin 5mg sale
Gjwfis
cost hydroquinone - <a href="https://dupsteron.com/">order generic duphaston 10mg</a> buy dydrogesterone for sale
Dunefa
forxiga where to buy - <a href="https://sineqpin.com/">sinequan 25mg without prescription</a> buy precose 50mg online
Cgdlix
buy griseofulvin - <a href="https://dipyrilx.com/">order dipyridamole 25mg generic</a> purchase lopid generic
Rrbljl
cheap enalapril 5mg - <a href="https://doxapisin.com/">doxazosin 1mg tablet</a> order zovirax generic
Pvnyix
buy generic dramamine 50 mg - <a href="https://prasilx.com/">purchase prasugrel</a> actonel 35 mg cheap
Vzmjvs
monograph 600mg over the counter - <a href="https://cilosetal.com/">buy generic cilostazol online</a> buy cilostazol online cheap
Zborro
piroxicam online order - <a href="https://rivastilons.com/">order rivastigmine 3mg sale</a> how to buy rivastigmine
Toseok
nootropil pill - <a href="https://nootquin.com/levofloxacin/">order levofloxacin 500mg sale</a> order sinemet 10mg online
Huprer
hydrea usa - <a href="https://hydroydrinfo.com/trecatorsc/">how to get ethionamide without a prescription</a> buy methocarbamol medication
Swbuuw
order generic depakote - <a href="https://adepamox.com/">divalproex generic</a> topiramate 200mg ca
Storyn
norpace order online - <a href="https://anorpica.com/pregabal/">lyrica 150mg cheap</a> buy chlorpromazine generic
Ezuhpt
cytoxan ca - <a href="https://cycloxalp.com/trimetazidine/">order vastarel online</a> vastarel medication
Cnduzo
cyclobenzaprine order online - <a href="https://abflequine.com/">order flexeril sale</a> buy vasotec
Sizivc
order ondansetron 8mg generic - <a href="https://azofarininfo.com/oxybutynin/">oral oxybutynin</a> buy ropinirole 2mg without prescription
Bornys
ascorbic acid 500 mg cheap - <a href="https://mdacidinfo.com/">order ascorbic acid 500 mg for sale</a> purchase prochlorperazine online cheap
Ohafdo
buy durex gel for sale - <a href="https://xalaplinfo.com/durexcondoms/">durex condoms purchase online</a> order zovirax without prescription
Jfigiv
order rogaine generic - <a href="https://hairlossmedinfo.com/">buy minoxidil generic</a> buy proscar pill
Cvnzjh
order generic arava 10mg - <a href="https://infohealthybones.com/alfacalcidol/">buy cheap alfacalcidol</a> purchase cartidin
Obklrq
buy atenolol 100mg online cheap - <a href="https://heartmedinfox.com/carvedilol/">buy carvedilol 6.25mg online</a> purchase carvedilol pills
Gfdqgv
verapamil 240mg without prescription - <a href="https://infoheartdisea.com/cardizem/">diltiazem uk</a> buy tenoretic
Qqdrzs
buy atorvastatin pills - <a href="https://infoxheartmed.com/nebivolol/">how to get bystolic without a prescription</a> where to buy nebivolol without a prescription
Aquxxg
lasuna pills - <a href="https://infoherbalmz.com/diarex/">buy diarex sale</a> himcolin online buy
Hxnygh
order gasex generic - <a href="https://herbalinfomez.com/ashwagandha/">cheap ashwagandha generic</a> cheap diabecon sale
Rfnunk
noroxin for sale online - <a href="https://gmenshth.com/">noroxin tablets</a> order confido for sale
Hphsoe
where to buy speman without a prescription - <a href="https://spmensht.com/">buy speman online cheap</a> finasteride online buy
Eojwrl
buy finax pills for sale - <a href="https://finmenura.com/alfuzosin/">buy generic alfuzosin</a> order uroxatral pills
Ywwlmh
brand hytrin 5mg - <a href="https://hymenmax.com/dutasteride/">order dutasteride for sale</a> dapoxetine usa
Mbhprp
oxcarbazepine for sale - <a href="https://trileoxine.com/">oxcarbazepine sale</a> cheap synthroid 75mcg
Vzeskh
purchase cyclosporine without prescription - <a href="https://asimusxate.com/methotrexate/">buy methotrexate 2.5mg pill</a> colchicine 0.5mg cheap
Uojslw
buy duphalac without a prescription - <a href="https://duphalinfo.com/">lactulose price</a> betahistine 16 mg us
Wdncci
generic calcort - <a href="https://lazacort.com/brimonidine/">alphagan without prescription</a> purchase alphagan online cheap
Brixqk
cheap gabapentin for sale - <a href="https://aneutrin.com/ibuprofen/">buy motrin pill</a> buy azulfidine 500 mg sale
Rpqtir
brand besivance - <a href="https://besifxcist.com/carbocysteine/">buy carbocisteine pills for sale</a> buy generic sildamax over the counter
Isbzyy
order probenecid 500mg pills - <a href="https://bendoltol.com/carbamazepine/">order tegretol 200mg sale</a> oral carbamazepine 200mg
Sxlfuy
celecoxib 100mg us - <a href="https://celespas.com/flavoxate/">flavoxate sale</a> indomethacin canada
Isiifz
order mebeverine 135mg generic - <a href="https://coloxia.com/">order colospa generic</a> order cilostazol 100 mg online cheap
Qntwya
voltaren pills - <a href="https://dicloltarin.com/aspirin/">aspirin 75 mg pills</a> aspirin online buy
Fpxgmm
order mestinon 60mg online - <a href="https://mestonsx.com/azathioprine/">purchase imuran generic</a> azathioprine 25mg pills
Ccawpc
buy rumalaya without a prescription - <a href="https://rumaxtol.com/shallaki/">buy shallaki</a> buy endep medication
Syjkhv
baclofen 25mg drug - <a href="https://baclion.com/">where to buy baclofen without a prescription</a> oral piroxicam
Alqglx
how to buy voveran - <a href="https://vovetosa.com/tisosorbide/">purchase imdur for sale</a> nimotop online
Bcciod
brand cyproheptadine 4mg - <a href="https://periheptadn.com/aszanaflex/">tizanidine buy online</a> buy generic zanaflex for sale
Dqtzho
buy mobic 15mg generic - <a href="https://meloxiptan.com/asrizatriptan/">purchase rizatriptan</a> toradol 10mg canada
Cnlrhx
omnicef buy online - <a href="https://omnixcin.com/clindamycin/">buy generic cleocin online</a> cleocin online order
Jajsea
order trihexyphenidyl generic - <a href="https://voltapll.com.com/">trihexyphenidyl usa</a> voltaren gel where to purchase
Drzyes
deltasone 5mg cheap - <a href="https://apreplson.com/">order prednisone 20mg sale</a> where can i buy zovirax
Gjctfu
buy isotretinoin 10mg online - <a href="https://aisotane.com/asavlosulfon/">order aczone online</a> deltasone 5mg pill
Ggiuor
acticin where to buy - <a href="https://actizacs.com/">acticin price</a> tretinoin gel drug
Uralhx
buy betnovate cream - <a href="https://betnoson.com/awdifferin/">purchase differin for sale</a> order benoquin cream
Hexwpq
order flagyl pill - <a href="https://ametronles.com/">flagyl 400mg cost</a> where can i buy cenforce
Fnezwt
augmentin 375mg usa - <a href="https://alevonted.com/">order synthroid 75mcg pills</a> purchase levothyroxine online cheap
Gjdvwy
buy generic hyzaar - <a href="https://acephacrsa.com/">keflex 250mg generic</a> buy cephalexin 250mg online cheap
Itryuz
buy cleocin online cheap - <a href="https://indometnp.com/">buy generic indomethacin for sale</a> indocin 75mg price
Hjwtuw
buy modafinil medication - <a href="https://sleepagil.com/">buy cheap provigil</a> melatonin 3mg pills
Arxdkk
eurax order - <a href="https://aeuracream.com/abactroban/">buy mupirocin medication</a> buy aczone medication
Xewunk
buy bupropion without prescription - <a href="https://bupropsl.com/">cost bupropion 150mg</a> buy shuddha guggulu paypal
Rdghcr
buy generic xeloda online - <a href="https://xelocap.com/mefenamicacid/">cost mefenamic acid</a> danazol online order
Zxaumt
prometrium 100mg cost - <a href="https://apromid.com/clomipheneferto/">buy fertomid pills</a> purchase fertomid pills
Iwckni
order alendronate pill - <a href="https://pilaxmax.com/">purchase alendronate</a> order provera 5mg online cheap
Kvzgcu
buy generic norethindrone 5mg - <a href="https://norethgep.com/yasmin/">how to get yasmin without a prescription</a> buy yasmin online
Dmkzoy
buy estrace 2mg online cheap - <a href="https://festrolp.com/anastrozole/">buy arimidex 1mg generic</a> arimidex 1mg ca
Jizlrp
dostinex cheap - <a href="https://adostilin.com/cabgolin/">cabgolin price</a> alesse over the counter
Innspx
гѓ—гѓ¬гѓ‰гѓ‹гѓі гЃ®иіје…Ґ - <a href="https://jpaonlinep.com/jamoxicillin/">г‚ўгѓўг‚­г‚·г‚·гѓЄгѓі гЃ®иіје…Ґ</a> г‚ёг‚№гѓ­гѓћгѓѓг‚Ї еЂ‹дєєијёе…Ґ гЃЉгЃ™гЃ™г‚Ѓ
Fbretz
г‚·гѓ«гѓ‡гѓЉгѓ•г‚Јгѓ« гЃЉгЃ™гЃ™г‚Ѓ - <a href="https://jpedpharm.com/">г‚·гѓ«гѓ‡гѓЉгѓ•г‚Јгѓ«гЃ®йЈІгЃїж–№гЃЁеЉ№жћњ</a> г‚їгѓЂгѓ©гѓ•г‚Јгѓ« е‰ЇдЅњз”Ё
Qqeduo
プレドニン どこで買える - <a href="https://jpanfarap.com/jpadoxycycline/">ドキシサイクリンジェネリック 通販</a> アキュテイン 飲み方
Xqsgki
eriacta wood - <a href="https://eriagra.com/asildigrah/">sildigra bottom</a> forzest tea