Ruby Tutorial

Ruby Operators

Operators

Operators perform arithmetic, comparison, and logical operations on values.

puts 10 ** 2
Try it Yourself
Run this RUBY example in your local environment or course sandbox.