So for my college class I am suppose to write a program that will roll a die, get a random result each time and allow the user to change the number of sides on the die.
Everything in my program works when I run it. Except for one thing it isn't random. Every time I roll the die I will get the same result over and over and over until I change the number of sides.
Here is the code if you can help me I would very much appreciate it: