这个程序为什么是个死循环
//当我输入英文字母,为什么是个死循环。#include<stdio.h>
#include<stdlib.h>
#define week 7
int main()
{
int days;
printf("Enter days,it will change for weed ,days\n");
scanf("%d",&days);//这里应该将英文字母转换为有符号十进制数了
while(days>0)
{
printf("%d are %d weeks,%d days\n",days,days/week,days%week);
printf("enter next\n");
scanf("%d",&days);
}
system("pause");
return 0;
}