You can not implicitly convert the type "double" to "double [] using Math.Pow

0

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?

    
asked by Adrián Avilés Arcos 26.07.2018 в 04:50
source

0 answers