compscibuntu team mailing list archive
-
compscibuntu team
-
Mailing list archive
-
Message #00010
[Question #45119]: C++ question
Question #45119 on Computer Science Ubuntu changed:
https://answers.launchpad.net/compscibuntu/+question/45119
Description changed to:
Write the definition of a function powerTo , which receives two parameters. The first is a double and the second is an int . The function returns a double .
If the second parameter is negative, the function returns 0. Otherwise,
it returns the value of the first parameter raised to the power of the
second.
--
You received this question notification because you are a member of
Computer Science Ubuntu, which is an answer contact for Computer Science
Ubuntu.