Alter the execution order using parentheses : Operator Precedence « Language Basics « Ruby






Alter the execution order using parentheses


puts (5 + 3) * 2

 

Related examples in the same category

1.Operator Precedence Demo