Ok, i have this problem where i have to return the largest and smallest of 3 numbers using a funcion with 5 parameters. Here is what I got so far. It doesn't compile right for some reason, where is my mistake? Thanks in advance for any help.

Code:`#include <iostream.h>`

void maxmin(int a, int b, int c, int&max, int&min)

ma=a;

mi=b;

return;

}

void main()

{

int max, min;

maxmin(10,5,6,max,min);

cout<<max<<min;

}