Help I was using this formula:
A * (Math.Pow(Xo, Potencia)) + B * (Math.Pow(Xo, Potencia2)) - C
where Xo
is entered by keyboard and converted with:
Xo = Convert.ToDouble(Console.ReadLine());
And in the formula the error appears:
You can not implicitly convert the type "double" to "double []"
Before I had used that formula and I did not see any error, I think the problem can be that conversion to double. How can I solve it?