0001.输入一串数字字母和其他字符将其分类存入其他数组并输出
注:这题用puts函数输出更简便
#include <stdio.h>
#include <string.h>
int main()
{ unsigned i, j, k=0, m=0, n=0;
char a[128], *p=a, b[128], c[128], d[128];
printf ("input your character:");
scanf ("%s", a) ;
for (i=0;i<strlen(a);i++)
{ if(('a'<=*(
原创
2021-12-21 12:24:43 ·
288 阅读 ·
0 评论