In this example we show you how to get the mean of given Set of Numbers. The mean is the average of the numbers. It is easy to calculate: add up all the numbers, then divide …
Programs
-
-
An Armstrong number or a plus perfect number) in a given number base is a number that is the sum of its own digits each raised to the power of …
-
In this article we will show you how show to determine if a number is a palindrome A palindromic number is a number (such as 121) that remains the same …
-
In this article we will show you how show a fibonacci series In mathematics, the Fibonacci numbers, commonly denoted Fn, form a sequence, the Fibonacci sequence, in which each number …
-
In this article we will show you how check the factors of an integer A factor is a number that divides the given number without any remainder. Example using System; namespace ConsoleApp1 { class Program …
-
In this article we will show you how to convert from Celsius to Fahrenheit and from Fahrenheit to Celsius We use the following formulas To convert from Celsius to Fahrenheit: …
-
In this example we will show to check if a year is a leap year in C# There is a basic formula for this To determine whether a year is …
-
In this article we look at a program that will display the date and time in various formats The format parameter can contain either a single format specifier character or a …
-
In this example we will create a simple program to check if a number is an odd or even number. We use a fairly simply formula If a number is …
-
In this example we will create a program that joins two strings together, or concatenate them We do this by using the String.Concat Method Example In this example we ask …