केस केस संवेदनशील होने के लिए मैं स्विच-केस स्टेटमेंट कैसे बना सकता हूं?मैं स्विच-केस स्टेटमेंट केस को असंवेदनशील कैसे बना सकता हूं?
#include <stdio.h>
char choice;
int main()
{
char choice;
printf("Will you choose A,B, or C?\n>");
scanf(" %c", &choice);
switch(choice)
{
case 'A':
printf("The First Letter of the Alphabet");
break;
case 'B':
printf("The Second Letter of the Alphabet");
break;
case 'C':
printf("The Third Letter of the Alphabet");
break;
}
}
यह केवल बड़े अक्षरों का जवाब होगा: मैं कुछ इस तरह बनाया कहो। मैं इसे कम केस अक्षरों का जवाब कैसे दूं?
लोअरकेस/अपनी पसंद अपरकेस दे सकते हैं। –