Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby for programmers

irb(main):007:0> a = 3 ** 2
=> 9
irb(main):008:0> b = 4 ** 2
=> 16
irb(main):009:0> Math.sqrt(a+b)
=> 5.0
Source by www.ruby-lang.org #
 
PREVIOUS NEXT
Tagged: #ruby #programmers
ADD COMMENT
Topic
Name
3+2 =