This is in c programming.

The question is not with me right now but its like this, the program wants me to input 10 numbers and then find the average,total,maximum and minimum, Then print back the numbers according from lowest to highest.

I'm having a bit of difficulty doing it with no errors. Help me finish this problem and I'll give you a free domain

Locaton.in ~ gimme your directi@reseller club ID,email.

Thanks

```
#include<stdio.h>
#define N 10
void Max(int num[],int i);
void Min(int num[],int i);
void sort(int num[],int i);
int main()
{
int num[N],i;
float sum=0,average;
for(i=0;i<N;++i)
{
printf("please enter the number that need to be calculate");
printf("\nplease make sure the number is between the 0 and 100\n");
scanf("%d",&num[i]);
}
for(i=0;i<N;++i)
{
printf("the number is %d\n",num[i]);
}
for(i=0;i<N;++i)
{
sum +=num[i];
}
printf("the total value is %.2f\n",sum);
average=(sum/N);
printf("And the average value is %0.2f\n",average);
Max(num,i);
Min(num,i);
sort(num,i);
printf("reorder list of numbers:\n\n");
for(i=0;i<N;++i)
printf("i=%d x=%d\n",i+1,num[i]);
return 0;
}
void Max(int num[],int i)
{
int max = num[0];
for(i=1;i<N;i++)
{
if (max<num[i])
max=num[i];
}
printf("the value of maximum is %d\n",max);
return;
}
void Min(int num[],int i)
{
int min=num[0];
for(i=1;i<N;i++)
{
if (min>num[i])
min=num[i];
}
printf("the value of minimum is %d\n",min);
return;
}
void sort(int num[],int i)
{
int k,temp;
for(k=0;k<N;k++)
{
if(num[k]<num[k+1])
{
temp=num[k+1];
num[k+1]=num[k];
num[k]=temp;
}
return;
}
```