#include<stdio.h>
#include<conio.h>
main()
{
int ar[5];                                                               //declaration of array
int i;
for(i =0;i<5;i++)                                                   //loop for input
{
printf("\n enter the array element");
scanf("%d",&ar[i]);
}
printf("\n the entered values are :");
for(i=0;i<5;i++)                                                       //loop for output
{
printf("%d",ar[i]);
}
getch();
}