No matter what value i put in there, it's always 0.Code:#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { double loop_counter = 2, PWR = 0, result = 0, new_counter = 2; printf("enter an interger:\n "); scanf("%f", &PWR); result = pow(new_counter, PWR); printf("%f\n", result); system("pause"); return 0; }