Fibonacci Series in c#

The Fibonacci Series is a series where the next term is the sum of previous two terms. The first two terms of the Fibonacci Series is 0 followed by 1. The Fibonacci Series: 0, 1, 1, 2, 3, 5, 8, 13, 21. Example: using System; namespace ConsoleApp1 { class Program { static int FibonacciSeries(int n) […]

Read More

Program to Check Armstrong Number

Here, we will Check Whether the entered number is an Armstrong Number or Not. An Armstrong number is a number such that the sum of its digits raised to the third power is equal to the number itself. For example, 371 is an Armstrong number, since  3**3 + 7**3 + 1**3 = 371. using System; namespace ConsoleApp1 { […]

Read More