Prog#063: Read & Display 10 nos - Integer Array

/* 
Program#63
Read & Display 10 nos - Integer Array
*/

#include <stdio.h>
main(){
int i,a[10];
i=0;
while(i<10){
scanf("%d",&a[i]);
i=i+1;
}
i=0;
while(i<10){
printf("\n a[%d]=%d",i,a[i]);
i=i+1;
}
}