What is the output of the following C++ statements?
a. cout<< mystery(0, 6.5, 'K')<< endl;
b. cout<< mystery(4, 16.0, '#') << endl
c.cout << 2*mystery(-11, 13.8, '8')<< endl;
How are we supposed to know the output of mystery() ?
You have not supplied to code for it.
The function prototype for mystery() belongs before main().
PLEASE USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.
I declared mystery but, pow and sqrt was considered an error
and it came up as more than one instance of overloaded function "pow" matches the argument list.