Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/ruby
- #x = 0
- 5.times do
- x = 4
- end
- puts x
- begin
- x = 5
- end
- puts x
- if 5 == 5
- x = 6
- end
- puts x
- while (x == 6) do
- x = x + 1
- end
- puts x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement