heryvandoro

Untitled

Oct 7th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. start
  2. set i = 1
  3. loop i until 50
  4. set j=i/2
  5. set status = false
  6. loop until j
  7. if i%j==0
  8. status = true
  9. return
  10. endif
  11. endloop
  12. if status == true
  13. print "bukan prima"
  14. else
  15. prima
  16. endloop
  17. end
Advertisement
Add Comment
Please, Sign In to add comment