The assignment is Write a program that asks the user to enter an integer value for x and then calculate the value for the following polynomial: x^5-5x^4+10x^3-10x^2+5x+1.

This is my program and it is not working, but I am not sure why. Help Please!

Code:#include <stdio.h> #include <math.h> int main(void) { int x, polynomial; printf("Please input an interger value for x: "); scanf("%d", &x); polynomial = pow(x, 5) - 5 pow(x, 4) + 10 pow(x, 3) - 10 pow(x, 2) + 5 pow(x, 1) + 1; printf("The value for the polynomial of x = %d is: %d\n", x, polynomial); return 0; }