- Jun 20, 2001
- 3,780
- 2
- 0
I'm doing an if-else statement, and only A,a,B,b will result in an execution of the statements.
if (choice == 'A')
How can I make this so that it doesn't matter if the input is lowercase or uppercase a?
-------------------------------
Please use the proper forum
Senior Anandtech Moderator
Common Courtesy
if (choice == 'A')
How can I make this so that it doesn't matter if the input is lowercase or uppercase a?
-------------------------------
Please use the proper forum
Senior Anandtech Moderator
Common Courtesy