The following is a program written using a C programming language. Identify the errors in the program.
#include<stdioh>
main()
{
int p[10],i;
float avg=0;
Printf(enter 10 numerals);
for(i=0;i<=9;i++)
{
scanf(“%d”,&p[i]);
}
for(i=0;i<=9;i++);
{
avg = avg+p[i];
}
avg=(float)avg/0;
printf(“enter average is %k\n”,avg);
 Viewed: 510 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!