1.

What will be the output of the given code snippet?
 class Program { static void Main(string[] args) { double x = 2.0; double y = 3.0; double z = Math.Pow( x, y ); Console.WriteLine(z); Console.ReadLine(); } }  

A. 2.0
B. 4.0
C. 8
D. 8.0
Answer» D. 8.0


Discussion

No Comment Found