71
What will be the output of the following C# code snippet?
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();
}
} Answer & Solution
Answer: Option
C
No explanation is given for this question. Let's Discuss on Board