Logo - Je li broj prost?
- to jeliprost :n
- if :n = 1 [op "false]
- make "p int :n/2
- for [k 2 :p 1] [
- if (remainder :n :k) = 0 [op "false]
- op "true
- to testiraj :max
- for [i 1 :max 1] [if jeliprost :i [pr :i] ]
- ; pozvati primjer:
- ; testiraj 50
We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.
We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!
Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.