Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local range = 1000
- local total = 0
- repeat
- if range % 3 == 0 or range % 5 == 0 then
- total = total + 1
- end
- range = range - 1
- until range <= 0
- print(total)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement