compound interest, need help

This is a discussion on compound interest, need help within the C Programming forums, part of the General Programming Boards category; this is a program i wrote to count the compound interest, but it's not working it's giving me following error ...

compound interest, need help

this is a program i wrote to count the compound interest, but it's not working it's giving me following error message when i compile"compound.c:(.text+0x69): undefined reference to `pow'
collect2: ld returned 1 exit status"
following the code

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell