I want to make a switch program where letters are choices. I already know that you must use the newline technique but I wanted to know how you would use both upper case and lower case letters without writing a completely different case for each letter.
Example:
Code:switch(choice) { case 'A': sum = num1 + num2; printf("The sum of %d and %d is %d.\n", num1, num2, sum); break;