This question already has an answer here:
- Convert char to int in C and C++ 10 answers
I am new to programming and I have to write the code which will print the ASCII value of an input character. Is there any other way to reduce the 52 (26 for lowercase and 26 for upper) if-else statements or 52 switch-cases ?
Aucun commentaire:
Enregistrer un commentaire