题目描述
下面程序中中"____ N ____"是根据程序功能需要填充部分,请完成程序填充(注意:不得加行、减行、加句、减句,否则后果自负)。
该程序功能:调用函数f,从字符串中删除所有的数字字符。
#include < stdio.h >
#include < string.h >
#include < ctype.h >
void f(char *s)
{ int i=0;
while(s[i]!='\0'){
if(isdigit(s[i])) ____1____;
else ______2___;}
}
void main()
{ char str[80];
gets(str); f(str); puts(str);
}