C 语言实例 - 判断字母
C 语言教程
· 2019-02-20 17:56:38
用户输入一个字符,判断该字符是否为一个字母。
实例
#include <stdio.h>
int main()
{
char c;
printf("输入一个字符: ");
scanf("%c",&c);
if( (c>='a' && c<='z') || (c>='A' && c<='Z'))
printf("%c 是字母",c);
else
printf("%c 不是字母",c);
return 0;
}
运行结果:
输入一个字符: a a 是字母
点击查看所有 C 语言教程 文章: https://codercto.com/courses/l/17.html
Web Caching
Duane Wessels / O'Reilly Media, Inc. / 2001-6 / 39.95美元
On the World Wide Web, speed and efficiency are vital. Users have little patience for slow web pages, while network administrators want to make the most of their available bandwidth. A properly design......一起来看看 《Web Caching》 这本书的介绍吧!