printf("ho_tari\n");
A2Z 본문
#include <stdio.h>
int main(void)
{
//int code;
//scanf("%d", &code);
char c;
scanf("%c", &c);
int isBig = (c >= 65 && c <= 90);
//int isBIg = (code >= 'A' && code <= 'Z');
printf("%c is big : %d\n", c, isBig);
return 0;
}
<compile 결과>
'C' 카테고리의 다른 글
average (0) | 2023.08.31 |
---|---|
arrayCompare (0) | 2023.08.31 |
arrayAssignment (0) | 2023.08.31 |
arithmetic (0) | 2023.08.31 |
absoluteValue (0) | 2023.08.31 |