I just came across the enum thing in my tutorial, and if I typed the following code: enum yes_no {yes, no}
would it be able to ask the user to enter either yes or no, and then let the program convert the input into a value of yes_no, that is yes or no?
Because then I could use commands like: