Hey all;
I been working on a basic game and I have run into a slight problem.
I am using a while statement to select a companion and if it does not equal the 3 options it will ask them to re-enter it.
The problem I am having is that it will only loop saying re enter even if i type a correct asnwer when I have more than one option in the validation. e.g. Cat or Dog or Eagle does nto work, Cat does.
Another issue was I have a conversion function to convert the input itno lowercase. I have been reading a book learning the fundelmentals of c + + but im not 100% sure how I can define the function properly so I can just call it for certain inputs rather than writing the whole code.
Any help is much appreiciated.