An Armstrong Number is a number that when you raise each digit of the number to the power of the...
ArrayList Methods with Examples in Java
ArrayList is a part of collection framework and is present in java.util package. It provides us...
Java LinkedList using Scanner with Example
Linked list program in java using scanner Doubly-linked list implementation of the List and Deque...
Convert Binary to Decimal in PHP
In this example, i’ll show you How to Convert Binary to Decimal in PHP. PHP Code: <?php //...
Convert Binary to Decimal in Java
In this example, i’ll show you How to Convert Binary to Decimal in Java. Java Code: // Java...
Find the perfect numbers between 1 and 10000 in C++
Write a program in C++ to find the perfect numbers between 1 and 10000. #include <iostream>...
C++ Program to Find Perfect Number
Here we will learn how to program using C++ in order to find the perfect number. A Perfect Number...
Print Half Pyramid Patterns of Numbers in C++
Programs for printing pyramid patterns in C++ C++ Code: #include <iostream> using...
PHP Array Length for Loop
In PHP, you can read the indexed elements in the array sequentially using the array length. The...
How many elements are in an array PHP?
count is a function of arrays in PHP that returns the number of elements in a given array. The...
Palindrome Program in Java using Reverse Method
Java program to check if a string is a palindrome or not, it’s a palindrome if it remains the...
Pseudocode for Reversing a Number
Example to reverse an integer entered by the user in Pseudocode . This problem is solved by using...
Go Program to Find Square of a Number Without Sqrt – find_square()
How to write a Golang program to find the square root of a number is a common Go programming...
Go Program to Find Square of a Number using Functions
How to write a Golang program to find the square root of a number is a common Go programming...
While Loop in C/C++ Programming Example PPT
A repetition structure allows the programmer to specify that an action is to be repeated while some...