prev


Integer Arrays

63.Read and Display Integer using Array (04.03.2010)

/*
Program# 63
date : 28-12-2008
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;
}
}



next
blog comments powered by Disqus