Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
numbers
#numbers puts 1+1 #outputs 2 puts -5+3 puts 2.5 + 0.5 puts 10-8 puts 5*5 #puts 5/2 #<---no right answer use decimal for decimal results puts 9/2.0 puts 6+4 /2 puts (6+4) /2 #modulo puts 13%5 #13/5 = 2r3 puts 14%5 puts 15%5 #only shows remainder.
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Ruby Inheritence
Ruby custom inject
regex.rb
piramid2
3.4.0 / 3.5.2 / 3.5.1 / 3.6.1 / 3.6.5.#
yes
string orperations lecture and print
soncita
variables output
ruby LRU cache with constant get/set
Please log in to post a comment.