Not enough arguements

// Description: This program calculates the average of a group of five test scores where the group is dropped.

#include <iostream>
using namespace std;

void getScore(double);
void findLowest(double, double, double, double, double, double);
void calcAverage(double, double, double, double, double, double);



int main()
{
double ix, iy, iz, iw, ib;


getScore(ix);
getScore(iy);
getScore(iz);
getScore(iw);
getScore(ib);

calcAverage(ix, iy, iz, iw, ib);

return 0;
}

void getScore(double score)
{
cout << "What is your score?";
cin >> score;
if (score < 0)
{
cout << "Error";
exit(0);
}
}

void findLowest(double ba, double bb, double bc, double bd, double be, double exclude)
{
if (ba < bb && ba < bc && ba < bd && ba < be)
exclude = ba;
else if (bb < ba && bb < bc && bb < bd & bb < be)
exclude = bb;
else if (bc < ba && bc < bb && bc < bd && bc < be)
exclude = bc;
else if (bd < ba && bd < bb && bd < bc && bd < be)
exclude = bd;
else
exclude = be;

}

void calcAverage(double aa, double ab, double ac, double ad, double ae, double drop)
{
double average;
findLowest(aa, ab, ac, ad, ae, drop);
average = (aa + ab + ac + ad + ae - drop) / 4;
cout << "The test score we are dropping is " << drop << endl;
cout << "Your average is " << average << endl;
}

it says that i dont have enough arguments in calcAverage when i call it, but when i put another one in there it says that all of my i's in main are no longer initialized. Not sure what is going on
it says that i don't have enough arguments in calcAverage (which is 100% true) but when i put another on in the same call (calcAverage (ix,iy,iz,iw,ib,ir)) it says that all of my local variables have not been initialized (ix, iy, iz, iw, ib, ir). so im not sure where to go to debug this
calcAverage(ix, iy, iz, iw, ib);

Should be :
calcAverage(ix, iy, iz, iw, ib, 0.0);
it just says that they are all uninitialized local variables again unfortunately
double ix, iy, iz, iw, ib;

Should be :
double ix = 0, iy = 0, iz = 0, iw = 0, ib = 0;
Topic archived. No new replies allowed.