intro-to-dotnet-web-dev/2-csharp/lesson-2-projects/CsharpProjects/challenge5/Program.cs

5 lines
133 B
C#
Raw Normal View History

int firstValue = 500;
int secondValue = 600;
int largerValue = Math.Max(firstValue, secondValue);
Console.WriteLine(largerValue);