¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 10 de 10 · Multimedia

Create a random number within a given range

Kostas Diakogiannis

Create a random number within a given range

M-6 Create a random Number within a range

Create a function that accepts a low number and a high number and creates a random number between these two thresholds.

ex. createRandom(1, 10) creates an integer between 1 and 10.

Make this re-usable with many combinations to be sure that it works.

At the end create a number between 50 and 55 for example. 

The final random number should be an integer.

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?