Armstrong Number Program in Java

Armstrong Number Program in Java

In this tutorial we will learn writing Armstrong number program in Java to check a given input number is Armstrong or not? So before moving directly on the writing program Lets know about Armstrong number: Click Here:  What is Armstrong Number? Armstrong program in C. Program 1: Armstrong Program in Java This is a traditional … Read more

Java Program to Count Occurrence of given character in String

Count Occurrences Of Given Character In String in java

In this tutorial we will learn how to write program in Java to count occurrence of character in a String. Also Read this:  C program to count the occurrence of a character in String. How this Java program will behave? This Java program will take a string and a character as an input. And it … Read more

Java Program to remove a given character from string

Remove A Given Character From String in java

In this tutorial you will learn writing program for how to remove a character from a string in java. Before start writing this program you should know how to work with String and character in Java. Also Read This: C program to remove a character from String. How this Java program will behave? This program … Read more

Floyd’s Triangle Program in C with explanation

In this tutorial, we will learn how to write floyd’s triangle program in C. But before moving on writing program lets know What is Floyd’s Triangle? Floyd’s triangle is a right angled triangle, which is made using natural numbers. It is named after Rober Floyd. Its element is left aligned in which it started filling … Read more

Pascal Triangle Program in C with explanation

In this tutorial we are going to learn writing program in C to print pascal triangle. But before directly moving on writing program first lets know What is Pascal Triangle? Pascal Triangle starts with row n = 0 where there is only one entry 1. And it grows row-wise toward the right by adding the … Read more

Bubble sort program in C with explanation

In this tutorial, you will learn how to write Bubble sort program in C with explanation. Before going on logic of bubble sort or program first lets understand how bubble sort works? What is the space and time complexity of it? What is Bubble Sort? Bubble sort is very easy and basic sorting technique. In … Read more

C program to find middle element of linked list in single pass

In this tutorial, you will learn how to write C Program to find middle element of a linked list in single pass. Below are the approach which we will be follow to write our program: So first of all we will take some inputs from the users and then we will try to find the … Read more

C program to reverse a linked list with explanation

In this tutorial, you will learn how to write C program to reverse a singly linked list. Below are the approach which we will be follow to write our program: To reverse any singly linked list first of all we should have some data in linked list. So first we will take some inputs from … Read more

C program to remove duplicate elements in an array

C Program To Remove Duplicate Elements In An Array

In this tutorial, you will learn how to write C program to delete duplicate elements in an array. Below are the approach which we will be follow to write program: How our program will behave? Our program will take an array as an input. And then count the occurrence of each elements. After the count … Read more

C program to find second largest number in an array

C Program To Find Second Largest Number In An Array

In this tutorial, you will learn how to write C program to find second largest number in an array. Below are the approach which we will be follow to write our program: How our program will behave? As we have already seen above our logic to find the second maximum number of an array. Our program … Read more