C# Program to display Armstrong Numbers

About Armstrong Number, the sum of the thrice power of individual digits is equal to number itself. this article to display Armstrong numbers between two intervals. How to calculate Armstrong number , suppose number : 153 = 1 * pow(3) + 5 * pow(3) + 3 * pow(3) = 1 + 125 + 27 = […]

C# Program to Find Smallest of 4 Numbers using ternary operator

The smallest of four numbers can be found using if else statement or Ternary operator or logical operator . if we enter four numbers to check and comparing each other and it returns lowest number after comparing. see the following codes. C# Program to Find Smallest of 4 Numbers using ternary operator C# Program to […]

C# Program to Find Largest of 4 Numbers using ternary operator

The largest of four numbers can be found using if else statement or Ternary operator. Enter four numbers to check and comparing each other and it returns highest number after comparing. see the following codes. C# Program to Find Largest of 4 Numbers using ternary operator ( with user input ) C# Program to Find […]

C# Program to Find Highest of Three Numbers

The largest of three numbers can be found using if else statement orTernary operator. Enter three numbers to check and comparing each other and it returns highest number after comparing. see the following codes. C# Program to Find Highest of Three Numbers using if else with user input C# Program to Find Highest of Three […]

C# Program to check Even or Odd number

C# program to check if a number is odd or even. if a number is divisible by two then it is even. if a number is not divisible by two then it is odd. we use modulus ( %) operator to check even or odd numbers. modulus operator return remainder value. C# Program to check […]

Fibonacci Series Program in C#

The definition of Fibonacci Series, next number is the sum of previous two numbers. the first two numbers of the Fibonacci series 0 , 1. The Fibonacci Sequence : 0, 1, 1,2 ,3, 5, 8, 13, 21, … Fibonacci Series Program in C# using For Loop Example 1 Fibonacci Series Program in C# using For […]