In this program I am trying to create a simple calculator. However, I can\'t seem to find a way to overcome the aforementioned error when reaching the Math.Pow line
Math.Pow
Math.Pow uses a double argument. As the error says, there is no implicit conversion from double to float, so convert the result explicitly to float:
double
float
power = (float)Math.Pow(x, 2);
EDIT corrected the conversion order