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...