Please fill in the underline of the program with the right content and remove the underline, make the program correct results,
Note: may not add or delete lines, the structure of the are not allowed to change!
Program listing:
# include & lt; Stdio. H>
# define N 10
Void main ()
{int I, j, n.
12,33,31,44,51,63,71,79,85,95 intbb [N + 1)={};
Printf (" input n \ n \ n "); The scanf (" % d ", & amp; N);
Printf (" \ n \ n * * * * * * the original list ");
for(i=0; i
{the for (j=N; (1); J -)
/* * * * * * * * * * * * * * * found * * * * * * * * * * * * * * */
(2)
Bb [I]=n;
/* * * * * * * * * * * * * * * found * * * * * * * * * * * * * * */
(3)
}
If (I==N) bb [I]=N;
Printf (" \ n \ n newllist * * * * * * ");
/* * * * * * * * * * * * * * * found * * * * * * * * * * * * * * */
for(i=0; i<(4); I++)
Printf (" % 5 d, bb [I]);
}
CodePudding user response:
The first empty: j> i;The second empty: int temp=bb [I];
The third empty: bb [I + 1)=temp;
The fourth is empty: N + 1;
CodePudding user response:
Make up, you where is the program to the title of the building Lord, doesn't even have the indentation, be warned, if (I==N) bb [I]=N; This line must be placed on the for (I=0; i