This program is supposed to output the Power of 2's Table:

and this is the error i recive:Code:#include <stdio.h> #include <math.h> int main() { double two; int exponenet; puts("Power of 2's Table"); for(exponent=0; exponent <= 10; exponent++) { two = pow(2.0, (double)exponent++); printf("2 to the %2d power is %.0f\n", exponent, two); } return(0); }

Any input on why this is not working will be greatly appreciated.. thank you.Code:/tmp/ccHyVJOk.o: In function `main': twostable.c:(.text+0x3b): undefined reference to `pow' collect2: ld returned 1 exit status