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???

how can i make it correct???

By formatting the code so we can read and follow it.
By running it and seeing what it does wrong.
By looking at what it does wrong and finding the problem area.
By adding cout statements to see what variables are wrong at a given point in the program.

If you want our help
1) Format the code
2) Explain what the program is supposed to do
3) Explain what it doesn't do correctly
4) Tell us where the problem is

This article has been dead for over six months. Start a new discussion instead.