#include <stdio.h>
#include <ctype.h>
int main(void)
{
int c, Q = 0;
while ((c = getchar()) != Q)
if (isupper(c))
c = tolower(c);
printf("%c", c);
}
return 0;
여기서 Q를 입력해도 반복문 중단이 안됩니다.