java

Java program to convert a Hexadecimal value to Decimal

Java program to convert a hexadecimal value to decimal in two different ways. We will learn how to do the conversion by iterating through the digits of the number and by using Integer.parseInt method.

Read
c#

4 ways in C# to reverse an array

C# program to reverse an array in 4 different ways. We will learn how to do it by iterating through the array, by using a separate method, by using Enumerable.Reverse and Array.Reverse method.

Read
c#

C# program to convert a string to a character array

C# program to convert a string to a character array. We will learn how to do that by using String.ToCharArray method and by iterating through the characters.

Read
c#

4 ways in C# to convert a hexadecimal value to Decimal

C# program to convert a hexadecimal value to decimal value. The program will take the hexadecimal value as an input from the user and print the decimal value in four ways.

Read
c#

4 ways in C# to print the Geometric Progression or GP

C# program to print the Geometric Series in 4 different ways. We will learn how to print the G.P. series by using a for loop in two ways, by using a while loop and recursively.

Read
c#

3 ways in C# to print the Arithmetic Progression or AP

C# program to print the Arithmetic Series in 3 different ways. We will learn how to print the A.P. series by using a for loop, by using a while loop and recursively.

Read
c#

3 ways in C# to find the nth number of the Fibonacci series

C# program to find the nth value of the Fibonacci series. We will lean how to do this by using a for loop in iterative way, by using a while loop and recursively.

Read
c#

4 ways in C# to find the sum of first n numbers of the Fibonacci series

C# program to find the sum of first n numbers of the Fibonacci series. We will learn how to do that by using a for loop, by using a separate method, by using a while loop and with a recursive method.

Read
c#

4 ways to print the Fibonacci series in C#

C# program to print the Fibonacci series in 4 different ways. We will print it by using a for loop, by using a separate method, by using a while loop and with a recursive method.

Read
c#

3 ways in C# to find the sum and average of user input numbers

C# program to find the sum and average of user input numbers in 3 different ways. Take the numbers as user input and find the sum, average by using a separate method or separate class.

Read