Why does -LRB- rand -LRB- -RRB- % 100 -RRB- just gives random numbers in between 0-99 in C++ ? Why is 100 left out ?
How do I write a pseudocode statement that generates a random number in the range of 1 through 100 and assigns it to a variable named rand ?