Hi There....
# include <iostream>
using namespace std;
int one (int x, int y);
double two (int x, double a);
int main ()
{
int num, x, y;
double dec, a, first;
cout<<"please enter two integers numbers: ";
cin>>x>>y;
cout<<"please enter a double number: ";
cin>>a;
num = one (x, y);
dec = two (x, a);
first = one (6, 8);
return 0;
}
int one (int x, int y)
{
if (x > y)
return (x+y);
else
return (x-(y*2));
}
double two (int x, double a)
{
int first;
double z;
cout<<z += a;
cout<<first += x;
if (z > first * 2)
return z;
else
return (first * 2) - z;
}