I am trying to find the nth root of a function.This is my code

here its returning x=1. that is though I have made b double, the function is taking it as an integer. Why is that?Code:`#include <iostream>`

#include <math.h>

using namespace std;

int main()

{

double a=625,b=1/2;

double x=pow(a,b);

cout<<x;

}