What will be the output of the following C# code snippet? [code] class Program { static void Main(string[] args) {

Nguyễn Hào

New member
What will be the output of the following C# code snippet?
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();
     }
 }
A. true
B. false
C. 4.772
D. 4.76
 

Tìm kiếm

Back
Top