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

来源:学生作业帮助网 编辑:作业帮 时间:2024/06/02 17:34:30

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

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