I am have some really weird iostream errors. This is my first time using functions. Maybe I did something completely wrong. I just need someone to point out my error and maybe help with building a function to find the minimum value out of 4 input numbers.

```
#include <iostream>
using namespace std;
double sum_funk(float n1, float n2, float n3, float n4);
//Calulates sum of the four user inputs.
double pro_funk(float n1, float n2, float n3, float n4);
//Multiplies all of the numbers together.
double max_funk(float n1, float n2, float n3, float n4);
//Determines the maximum number out of the four.
double min_funk(float n1, float n2, float n3, float n4);
//Determines the minimum number out of the four.
double avg_funk(float n1, float n2, float n3, float n4);
//Computes the average value of the four numbers.
int main()
{
float n1,n2,n3,n4,sum,product,max_num,min_num,average;
char quitentry;
cout<< "Welcome!\n";
do
{
cout<< "Please input four numbers with a space\n";
cout<< "between each entry before hitting enter: \n";
cin>> n1>> n2 >> n3 >> n4 >> endl;
sum = sum_funk(n1,n2,n3,n4);
cout.setf(ios::fixed);
cout.setf(ios::showpoint);
cout.precision(2);
cout<< "The sum of the numbers entered is equal to ";
cout<< sum << "." << endl;
product = pro_funk(n1,n2,n3,n4);
cout<< "The product of the numbers entered is equal to ";
cout<< product << "." << endl;
max_num = max_funk(n1,n2,n3,n4);
cout<< "The maximum number entered is ";
cout<< max_num << "." << endl;
min_num = min_funk(n1,n2,n3,n4);
cout<< "The minimum number entered is ";
cout<< min_num << "." << endl;
average = avg_funk(n1,n2,n3,n4);
cout<< "The average of the numbers entered is equal to ";
cout<< average << "." << endl;
cout<< "Would you like to run some new numbers \n";
cout<< "If so press anything key to continue or q to quit.\n";
cin>> quitentry;
if (quitentry == 'q')
cout<< "Have a greeeaaattttttt day tiger!";
}while(quitentry != 'q');
return 0;
}
sum_funk(n1,n2,n3,n4)
//I chose to leave out the functions because it would be too long. But if you need them let me know.
```