字符变量ch是否是数字('0'

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/24 07:42:36

字符变量ch是否是数字('0'

来个函数吧……
int panduan(char ch) //如果是数字返回1,否则返回0
{
int w;
if('0'