Advertisement
Fakur

omer_faruk_colakel_pseudo_code

Nov 22nd, 2024
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | Source Code | 0 0
  1. START
  2.     FOR num = 500 TO 599
  3.         flag = True
  4.         FOR i = 2 TO sqrt(number)
  5.             IF num MOD i == 0 THEN
  6.                 flag = False
  7.                 break
  8.             END IF
  9.         END FOR
  10.         IF flag THEN
  11.             PRINT num
  12.         END IF
  13.     END FOR
  14. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement