Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var counter: Int = 1
- while(counter <= 1000) {
- if counter % 2 == 0 {
- print(counter)
- }
- counter += 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement