I'm doing a homework assignment that asks the user to enter a positive interger seed value to be used for generating a random number to be used in a two player game of rolling dice. My question is how do I go about using that entered value directly in the random number generation? I looked through the threads and FAQ already and I could not find a definite answer.
printf("Enter a positive integer seed value: ");
printf("Enter number of rolls of dice: ");
?die = 1 + ( srand(seed) % 6 );?