double base;
double x;
double log(x);
cout << "Please enter the base must be greater than 0 " << endl;
cin >> base;
cout << "Please enter the base must be greater than 0" << endl;
cin >> x;
double thelog(double base, double x);
cout << thelog(base, x);
/*
Declaring a double called log and using
functional notation to initialise it to x
*/
double log(x);
/*
Declaring a function called thelog taking in two doubles
and returning a double.
*/
double thelog(double base, double x);
its not giving me correct math
Make sure that the prompts: "Please enter the base must be greater than 0 "
and "Please enter the base must be greater than 0"
are meaningful so that both the programmer and the end-user knows which parameter is which.