编写函数,判断某个给定字符是否为数字。样例输入9样例输出yes
#include<stdio.h>
int main(){
char c;
scanf("%c",&c);
if(c>='' && c<=''){
printf("yes");
return ;
}
else
return ;
}
编写函数,判断某个给定字符是否为数字。样例输入9样例输出yes
#include<stdio.h>
int main(){
char c;
scanf("%c",&c);
if(c>='' && c<=''){
printf("yes");
return ;
}
else
return ;
}
本文网址:https://www.zhankr.net/140785.html
该资源仅限VIP专享下载