Skip to content

Instantly share code, notes, and snippets.

@rslid
Created March 23, 2014 10:32
Show Gist options
  • Save rslid/6db22bf82878574651fb to your computer and use it in GitHub Desktop.
Save rslid/6db22bf82878574651fb to your computer and use it in GitHub Desktop.
using System;
class Program
{
static void Main()
{
double first, second, third,max;
Console.Write("Please enter a= ");
first = double.Parse(Console.ReadLine());
Console.Write("Please enter b= ");
second = double.Parse(Console.ReadLine());
Console.Write("Please enter c= ");
third = double.Parse(Console.ReadLine());
max = Math.Max(first, Math.Max(second, third));
Console.WriteLine("Biggest "+ (max));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment