Computer Science, asked by divashg98, 1 year ago

write a program which acceptd 10 integers in an array?

Answers

Answered by PRAVEENJUNIOR
1
\\this is a c program
#include<stdio.h>
int main()
{
int a[10],i;
clrscr();
printf("enter the elements of the array\n");
for(i=0;i<=10;i++)
{
scanf("%d",&a[i]);
}
printf("entered elements are\n");
for(i=0;i<=10;i++)
{
printf("%d",a);
}
getch();
return 0;
}

Similar questions