hey...i have a code here
#include<iostream>
#include<fstream>
using namespace std;
void Avgs(int Array[],int N,int& Ave,int& AveP,int& AveN){
AveP = 0;
AveN =0;
for(N=0,N<10,N++;;)
Ave=Ave+ Array[N];
Ave=Ave/10;
for(N=0,N<10,N++;;){
if (Array[N]>= 0)
AveP= AveP+Array[N];
else
AveN= AveN+Array[N];
}
{AveP= AveP/6;
AveN= AveN/4;
}
void Large(int Array[],int N, int& Big);{
int Big = 0;
for(N=0,N<10,N++;;){
if (Array[N] > Big)
Big= Array[N];
}
}
void Display(int Array[],int N, int AveP,int AveN,int Max){
for(N=0,N<10,N++;;)
int Big = Max;
cout<<Array[N]<<endl;
cout<<"The Average of the Positive Numbers is:"<<AveP<<endl;
cout<<"The Average of the Negative Numbers is:"<<AveN<<endl;
cout <<"The Biggest Integer is:"<<Max<<endl;
}
void Readlist(int Array[],int N){
ifstream fin;
fin.open("Input.txt");
for(N=0,N<10,N++;;)
fin>>Array[N];
fin. close();
}
void main() {
int A,B,C,D,E,F,G,H,I,J,K,Array[10];
Readlist(Array[10],A);
Avgs(Array[10],B,C,D,E);
Large(Array[10],F,G);
Display(Array[10],H,I,J,K);
return 0;
}}
how can i make it correct???