I'm a beginner, this is my current code so far. What I'm confused with is on on how to implement "working out the sum of the squares of the numbers".
#include <stdio.h>
int main()
{
int i,n,Sum=0,numbers;
float Average;
printf("\nPlease Enter How many Numbers you want?\n");
scanf("%d",&n);
printf("\nPlease Enter the Number(s) one by one\n");
for(i=0;i<n;++i)
{
scanf("%d", &numbers);
Sum = Sum +numbers;
}
Average = Sum/n;
printf("\nSum of the %d Numbers = %d",n,Sum);
printf("\nAverage of the %d Numbers = %.2f",n, Average);
// printf("\nSum of the Square of %d Numbers = %d",n, );
return 0;
}