📌  相关文章
📜  用于确定字符是否为字母的 c 程序 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:58.208000             🧑  作者: Mango

代码示例1
You can also check the alphabet using the ASCII values of characters like this: if((ch >= 97 && ch <= 122) || (ch >= 65 && ch <= 90)) printf("The entered character %c is an Alphabet",ch); else printf("The entered character %c is not an Alphabet",ch); The ASCII value of 'a' is 97, 'z' is 122, 'A' is 65 and 'Z' is 90.