How to write a C# Program to swap two numbers without using third variable. C# Program to swap two number using System; namespace CSharpProgram { class Program { static void Main(string[] args) { Console.WriteLine(“Enter first…
How to Write a C# program to find the reverse number of a number and C# Code to reverse a number. Example: Input: 123455 Output: 554321 C# Program to reverse a number using System; namespace…
How to Write a C# program to find factorial of a number. What is Factorial Number? A factorial number is multiplication of all the smaller and equal numbers of N. where N is a positive number.…
How to write a c# program to check a number is Armstrong number or not. In the below example We will see what is an Armstrong number and how to find the Armstrong number in…
How to find the sum of digit in C#. In the below example another way to find the some of digit in C#. Input sample: 123 Output: 6 Sum of digits program in C# using…
How to write a C# program to find the Fibonacci Series. Fibonacci series in C#. Before dive into code let’s understand what is Fibonacci series and then will move to the logic to solve the…
How to write a C# program to find prime numbers. What is a prime number? And how to find the prime number between two numbers in C#. At the very first let’s understand what is…
How to write C# program to find the Fibonacci series. An example of a C# program for beginners. Step by step C# code to find the Fibonacci series. In this example, We will see how…
char is a primitive data type in Java. Here in this tutorial, we will see What is the char in Java how can we find ASCII value of a char. Char in Java The Java char…
Write a Program which removes duplicate characters from the string. Your program should read a sentence (string) as input from user and return a string removing duplicate characters. Retain the first occurance of the duplicate…