Given a function magicNumber() that returns a random integer 1 or 0, write a new function that will generate a random number that uses this magicNumber() function.
Utilisateur anonyme
what is the number we want to generate? Is it a single digit? is the in the int range? what about negative numbers? should all numbers have the same probability?