# Biggest of Three Numbers in C#

Sep 23, 2021

Machine Problem

Write a C# program to find the largest of three numbers.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Program Listing

``````using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/*

Bacolod City, Negros Occidental

Machine Problem

Write a C# program to find the largest of three numbers.
*/
namespace Biggest_Three_Numbers
{
class Program
{
static void Main(string[] args)
{

int num1=0, num2=0, num3=0;
string result;

Console.WriteLine("\n");
Console.WriteLine("============================================");
Console.WriteLine("\tBiggest of Three Numbers in C#");
Console.WriteLine("=============================================");

Console.WriteLine();
Console.Write("Enter first number : ");
Console.Write("Enter the second number : ");
Console.Write("Enter the third number : ");

Console.WriteLine();

if (num1 > num2 && num1 > num3)
{
result = "The " + num1  +  " Number is the greatest among three. \n";

}
else if (num2 > num1 && num2 > num3)
{
result = "The " + num2 + " Number is the greatest among three. \n";
}
else
{
result = "The " + num3 + " Number is the greatest among three. \n";
}

Console.WriteLine(result);
Console.WriteLine();
Console.WriteLine("\tEnd of Program");

}
}
}
``````