Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 12th, 2014
260
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
print "Enter a number:"
n = gets.chomp.to_i
while n <= 100 do
if n.odd?
n * 3
else
n / 2
end
puts n
end
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
WTF
C++ | 8 min ago | 3.66 KB
FREE BTC GUIDE S
JavaScript | 27 min ago | 0.08 KB
FREE BTC GUIDE 6
JavaScript | 27 min ago | 0.08 KB
✅ MAKE $22OO IN 10 MIN C
JavaScript | 28 min ago | 0.08 KB
Make 3500$ in 20 MIN [Method] 7
JavaScript | 28 min ago | 0.08 KB
Make $3500 INSTANTLY [Works Worldwide]???? HL
Java | 36 min ago | 0.05 KB
Make 3500$ in 1 day [Method]XH
Java | 39 min ago | 0.04 KB
Hadez Method LeakedTC
Java | 41 min ago | 0.04 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!