jeudi 3 décembre 2020

Sum of 2 or more random numbers

var sum = ? // sum of two or more random numbers;

function example() {
var random= Math.floor(Math.random() * 11) + 2;
}
  1. Function example was maded more than 2 times
  2. In var sum should be the value of all the random numbers that was maded.



Aucun commentaire:

Enregistrer un commentaire