Notice
Recent Posts
Recent Comments
Creative Code
isAlphabet.c 본문
#include <stdio.h>
int main(void)
{
char c;
scanf("%c",&c);
int isAlphabet = (c>='A' && c<='Z') || (c>='a' && c<='z');
printf("%c is alphabet : %d \n",c, isAlphabet);
return 0;
}
'C Programming' 카테고리의 다른 글
isOrdinary.c (평년,윤년 구분하기) (0) | 2023.07.31 |
---|---|
isLeap.c(윤년,평년 구분) (0) | 2023.07.31 |
compareOp.c (0) | 2023.07.31 |
bigLetter.c (0) | 2023.07.31 |
absoluteValue.c (절댓값 구하기) (0) | 2023.07.31 |