diff --git a/LICENCE.md b/LICENCE.md new file mode 100644 index 0000000..d27398f --- /dev/null +++ b/LICENCE.md @@ -0,0 +1,2 @@ +# random +Ejemplo de uso de GITHUB App diff --git a/randoms1.js b/randoms1.js new file mode 100644 index 0000000..0e1c8f7 --- /dev/null +++ b/randoms1.js @@ -0,0 +1,10 @@ +// Math.random() devuelve nĂºmero aleatorio entre 0 y 1. +var numero = Math.random(); + +var str =' MAYOR que 0,5'; + +if (numero <= 0.5){ + str = ' MENOR que 0,5'; +} + +console.log('\n' + numero + str + '\n');