+ 2
Please Explain
Please explain the example. I don't understand how the output is 8? Console.WriteLine(Math.Pow(2, 3)); //Outputs 8
2 Answers
+ 5
Pow(2,3)= 2^3=2*2*2 so it gives 8
Console.WriteLine(Math.Pow(2, 3));
//so it will print output at console as 8
0
Thank you!