C Program to that accepts ten different integer from the keyboard and gives the sum and average of these 10 numbers using for loop.

#include<stdio.h>
void main()
{
int i,n,sum=0;
for(i=1;i<=10;i++)
  {
   printf("Enter any number :");
   scanf("%d",&n);
  sum=sum+n;
  }
printf("\n The addition of numbers 1 to 10 is :%d",sum);
}