Nguyễn Hào
New member
What will be the output of the following C# code snippet?
A. true
B. false
C. 4.772
D. 4.76
Code:
class Program
{
static void Main(string[] args)
{
double x = 4.772;
double y = 4.76;
double z = Math.Max(x, y);
Console.WriteLine(z);
Console.ReadLine();
}
}
B. false
C. 4.772
D. 4.76