Given a method that returns a random number from 0-9 with equal probability( let say foo()). Write a method that uses this method and returns number between 0-100 with equal probability. You cannot use other methods, Take the help of this method only let say foo().
Aucun commentaire:
Enregistrer un commentaire