题目内容

请将代码补充完整。01 #include 02 #define N 5003 int main()04 {05 char str[N], digital[N];06 int i = 0, j = 0;07 scanf("%s", str);08 while ()09 {10 if (str[i] >= '0'&&)11 digital[j++] = str[i];12 i++;13 }14 digital[j] = '\0';15 printf("%s", digital);16 if ()17 printf("no number");18 return 0;19 }

查看答案
更多问题

请将代码补充完整。01 #include02 #include03 #define N 304 #define LEN 1305 int main()06 {07 int count = 0;08 char password[LEN],input[LEN];09 scanf("%s", password);10 while ()11 {12 scanf("%s", input);13 if (strcmp() == 0)14 break;15 ++count;16 }17 if (count>=N)18 printf("sorry\n");19 else20 printf("welcome\n");21 return 0;22 }

请将代码补充完整。01 #include 02 #include 03 #define N 1004 #define LEN 500506 int main()07 {08 char name[N][LEN];09 int i,j,index,maxLen=LEN;1011 for(i=0;i

请将代码补充完整。01 #include02 #include 03 #define M 304 #define N 405 int main()06 {07 int a[M][N];08 for(int t1=0;t1

请将代码补充完整。01 #include02 #include03 #include04 #define N 5005 int main()06 {07 char x, s[N];08 int i, c = 0;0910 gets(s);11 scanf("%c", &x);1213 for (i = 0;; i++)14 if ()15 s[c++] = s[i];16 s[c] = '\0';1718 puts(s);19 return 0;20 }

答案查题题库