As far as i can see...there are two closing braces missing in calculate_min

Code:

float calculate_min (float x, float y, float z)
{
float min_number;
{//remove this if u wanna retain them add a } after return so as to close with correct no of //braces check this for calculate_max also its missing a closing brace
if((x < y) && (x < z))
{
min_number = x;
//add } here
if ((y < z) && (y < z))
{
min_number = y;
//add } here
if ((z < x) && (z < y))
{
min_number = z;
}
return min_number;
}

...please check them

and one more thing u r passing the wrong parameters to calculate_max while calling....it should not be (xx,yy,zz) it should be (x,y,z)..

and please do check about pointers for the increase by10 function....

i guess this is the program u want

Code:

#include <iostream>
using namespace std ;
float calculate_min (float a, float b, float c);
float calculate_max (float a, float b, float c);
float sum (float a, float b, float c);
void increaseBy10 (float k, float *result);
int main()
{
float x;
float y;
float z;
float xx;
float yy;
float zz;
float min_number;
float max_number;
float sum_of;
cout << "please input 3 numbers: " << endl;
cin >> x;
cin >> y;
cin >> z;
min_number = calculate_min(x,y,z);
max_number = calculate_max(x,y,z);
sum_of = sum(x,y,z);
increaseBy10( x,&xx );
increaseBy10( y,&yy );
increaseBy10( z,&zz );
cout << endl;
cout << "The lowest value: " << min_number << endl;
cout << "The highest value: " << max_number << endl;
cout << "The total value of the three numbers: " << sum_of << endl;
cout << "The value of the three numbers if each is increased by 10 is listed:" << endl;
cout << " " << xx << endl;
cout << " " << yy << endl;
cout << " " << zz << endl;
return (0);
}
float calculate_min (float x, float y, float z)
{
float min_number;
{//unnecessary dont need scoping for a variable in a function..
if((x < y) && (x < z))
{
min_number = x;
}
if ((y < z) && (y < z))
{
min_number = y;
}
if ((z < x) && (z < y))
{
min_number = z;
}
return min_number;
}
}
float calculate_max (float x, float y, float z)
{
float max_number;
{
if((x > y) && (x > z))
{
max_number = x;
}
if ((y > z) && (y > z))
{
max_number = y;
}
if ((z > x) && (z > y))
{
max_number = z;
}
return max_number;
}
}
float sum (float x, float y, float z)
{
float sum;
{
sum=x+y+z;
return sum;
}
}
void increaseBy10 (float k, float *result)
{
(*result)=k+10;
}