diff --git a/square.cpp b/square.cpp index a47857d..8c855cf 100644 --- a/square.cpp +++ b/square.cpp @@ -1,3 +1,5 @@ +#include + double square(double number) { - return number * number; + return pow(number, 2); }