• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

Ruby operator

How 5-2*3+3=2 Is it follow bodmas rule If not than what procedure ee apply to solve it in rubby

ruby
29th Dec 2017, 5:17 AM
Rishav kumar
Rishav kumar - avatar
1 Respuesta
+ 9
That depends upon the precedence of operators: https://ruby-doc.org/core-2.2.0/doc/syntax/precedence_rdoc.html 5-6+3 5+3-6 = 2
29th Dec 2017, 5:42 AM
Dev
Dev - avatar

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
How to properly reverse a string in python
5 Votes
Using Python on VScode
2 Votes
Python Developer
0 Votes
hi my coding instor told me to make a calculator that find the average of two numbers can you pls tell me my erro
0 Votes
Hi guys I need some one to teach the String name how I can do it true because when I finish coding they give me NO OUTPUT
1 Votes
fully dynamic arrays
1 Votes
Wayss
0 Votes
Can I take the certificates after finished the lessons?
1 Votes
Hearts
0 Votes
Project subjection
0 Votes