So I am working on a text based RPG and have set up the stats to come out completely random. I have made it so that the program will let you try to get better stats one time, but then it moves on to the rest of the program from there. what i would like to happen is for the program to give the user as many retries to get ideal stats for the user.
another thing i would like some info on is how to make the player able to input letters to the choice.
if i set the choice variable (stats in this case) to a 'char STATS;' and use 'if(STATS == "N", "n")' it just runs through the first if statement of the code instead of going to the if else statement. so could someone give me some advice on that?