Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- start
- set i = 1
- loop i until 50
- set j=i/2
- set status = false
- loop until j
- if i%j==0
- status = true
- return
- endif
- endloop
- if status == true
- print "bukan prima"
- else
- prima
- endloop
- end
Advertisement
Add Comment
Please, Sign In to add comment