How does the randomNumber command work in programming?
a) By selecting a random number from a predefined list
b) By generating a random number within a specified range
c) By calculating a number based on predetermined algorithms
d) By copying a number from another variable