#include <stdio.h>
#include <conio.h>
int main()
{
int marks [5];
int i;
for (i=0; i<5; i++)
{
printf ("Enter a value of %d element to find an array \n \a", i);
scanf ("%d", &marks[i]);
}
for (i=0; i<5; i++)
{
printf ("The value of element %d is array %d \n", i, marks[i]);
}
return 0;
}
// ScreenShots:
Comments
Post a Comment