Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Define a one-dimensional plastic array with the length of 10, assign values to each element from the keyboard, and output it to the screen, with 5 numbers displayed in each row.
Define a one-dimensional plastic array with the length of 10, assign values to each element from the keyboard, and output it to the screen, with 5 numbers displayed in each row.
# include & ltstdio.h & gt

Master ()

{ int a[ 10];

int I;

for(I = 0; I< 10; i++)

scanf("%d ",& ampa[I]);

for(I = 0; I< 10; i++)

{printf("%d ",a[I]);

If (i==4)

printf(" \ n "); }

printf(" \ n ");

}