C# Program to find the largest of three characters using nested if

In this program, You will learn how to find the largest of three characters using nested if statement in C#. a b c => c A B C => C…

Continue Reading C# Program to find the largest of three characters using nested if

C# Program to find the largest of three numbers using nested if

In this program, You will learn how to find the largest of three numbers using nested if statement in C#. 33 44 10 => 44 33 55 20 => 55…

Continue Reading C# Program to find the largest of three numbers using nested if

C# Program to find the greatest number among three numbers

In this program, You will learn how to find the greatest number among the three numbers in C#. 33 44 10 => 44 33 55 20 => 55 Example: How…

Continue Reading C# Program to find the greatest number among three numbers

C# Program to check number is even or odd

In this program, You will learn how to check number is even or odd in C#. if(num % 2 == 0) { //statement } Example: How to check number is…

Continue Reading C# Program to check number is even or odd

C# Program to check the age of a user is eligible for voting or not

In this program, You will learn how to check the age of a user who is eligible for voting or not in C#. if( age >= 18 ) { //statement…

Continue Reading C# Program to check the age of a user is eligible for voting or not

C# Program to find the square root of a number

In this program, You will learn how to find the square root of a number in C#. Math.Sqrt(num); Example: How to find the square root of a number in C#.…

Continue Reading C# Program to find the square root of a number

C# Program to initialize more than one variable at a time

In this program, You will learn how to initialize more than one variable at a time in C#. x = y = 10 a = b = 60 Example: How…

Continue Reading C# Program to initialize more than one variable at a time

C# Program to add two numbers

In this program, You will learn how to add two numbers in C#. 20 = 10 + 10 30 = 10 + 20 Example: How to add two numbers in…