Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Define an integer array with the length of 10, and enter it at will. Output the number of 10 in reverse order.
Define an integer array with the length of 10, and enter it at will. Output the number of 10 in reverse order.
# include " stdio . h " void main(){ int a[ 10]; int I; for(I = 0; I< 10; i++) scanf("%d ",& ampa[I]); for(I = 9; I>= 0; i - ) printf("%d\n ",a[I]); }