#include<stdio.h>
#include<math.h>
void main()
{
int i = 0;
char c;
while (1)
{
c = '\0';
while (c != 13 && c != 27)
{
c = getchar();
printf("%c\n", c);
}
if (c == 27)
{
break;
}
i++;
printf("The No.is %d\n", i);
}
printf("The end");
}
该程序为何无法通过设定好的输入esc键和回车退出?