I'm new to programming and I'm trying to build a die roller game in C#.
The program asks the user for the number of sides and then rolls a dice with a random number.
I have the following pseudocode:
- ask user for the number of sides.
- roll the die with a random number with max range being the number of sides.
- tell the user the number rolled
My question is how do I roll the dice with generating a random number in range specified by the user?
Randomclass. - Jon B