my homework is making Mastermind game with three alphabet.
like A B F
i think the program is maked by srand and rand.
however i don't know how i can limit the value.
the alphabet should be A to G
srand(time(NULL );
alphabet1 = srand ()% 71 + 65;
like that
is it right?