C编写程序 输入 I am a student 要求输出 I am student 怎么做啊 ?求各位高手。。。。谢谢了。怎么填空?
#include<stdio.h>voidmaiin(){charstr1[81],str2[81],ch;inti,j=0;printf("inputastring:"...
#include<stdio.h>
void maiin()
{
char str1[81],str2[81],ch;
int i,j=0;
printf("input a string:");
_________________
printf("\n delete?");
ch=getchar();
for(i=0;____________;i++)
if(str1[i]!=ch
str2[________]=str1[i];
else
__________;
str[i-nj]=__________;
puts(str2);
} 展开
void maiin()
{
char str1[81],str2[81],ch;
int i,j=0;
printf("input a string:");
_________________
printf("\n delete?");
ch=getchar();
for(i=0;____________;i++)
if(str1[i]!=ch
str2[________]=str1[i];
else
__________;
str[i-nj]=__________;
puts(str2);
} 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询