hi
i'm working on an assignment and i'm suppose to take the log of a number , on the assignment sheet it looks like this:
log( totalAmount) - 1
my question is how do i write log in c++ ? like i know to get a number to the second power x it will be something like (pow(number), x)
so anyone who can help is welcome