#include <stdio.h>
#include <windows.h>
#include <stdlib.h>
#define PI 3.142
main(){
float fn, sn, ans;
printf("Hello, please enter your first number and second number: ");
scanf("%f %f", &fn, &sn);
ans = (fn**sn);
printf("%f", ans);
}
The compiler complains that there is a pointer required in the line with ans = (fn**sn);.
What is the pointer required? I tried to put "" in the statement but the output is wrong number, not the power of fn and sn.