1 Respuesta
0
You can simply use % operator....
e.g.
puts "#{9 % 2}"
Output:
1
10th Apr 2020, 6:48 AM
DeWill

¿Tienes a menudo preguntas como esta?
Aprende gratis de forma más eficaz
En tendencia hoy
New code
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
1 Votes