當前位置:編程學習大全網 - 編程軟體 - 壹個C語言的編程問題。急迫的...

壹個C語言的編程問題。急迫的...

# include & ltstdio.h & gt

# include & ltconio.h & gt

# include & ltstring.h & gt

void main()

{

char ch[200];

炭化溫度[200];

int I = 0;

int j = 0;

int k;

gets(ch);

while(ch[i]!='\0')

{

if(ch[i]!=' ')

{

temp[j]= ch[I];

j++;

}

其他

{

而(j%8!=0)

{

temp[j]=“”;

j++;

}

temp[j]= ' \ 0 ';

for(k = 0;temp[k]!='\0';k++)

{

if(temp[k]= = ' ')temp[k]= ' & gt;';

putchar(temp[k]);

}

j = 0;

}

i++;

}

}

我花時間做的。繩結夠好嗎?如果有什麽問題,我會盡力回答。

  • 上一篇:2007昆山網吧裝機方案
  • 下一篇:c語言。。用if語句編程,輸入壹個三位數,判斷是否是水仙花數。
  • copyright 2024編程學習大全網