# Php Programming Code Examples

## Php > User Management Code Examples

C++ Program Finds HCF of Two Numbers - To find the HCF ('Highest Common Factor') or GCD (Greatest Common Divisor) of 2 or more numbers, make prime factors of the numbers and choose the common prime factors. Then

C program Copies one String into another - Demonstrate multiple loop control variables. This is a testing of converge. Copies one string into another. It copies characters to both the ends, converging at the middle...

C++ Simple Calculator Code for Beginners - Write a simple C++ program which have four different functions for "basic operations" like addition, subtraction, division, multiplication. It should be menu based asking user to enter

C++ Sample Calculate Power of a Number - Program takes two numbers (a 'base number' and an 'exponent') and Calculates the Power. The technique works only if the exponent is a positive integer. If you need to find the power

C Program Sample Implement Bitonic Sort - Compare and swap based on dir, sorts bitonic sequence in ascending order dir=1, otherwise in descending order. Code generates "Bitonic Sequence" by Sorting Recursively two halves

C Language Code Convert Binary to Octal - Program takes a binary number as input and converts to octal. Take a binary number as input. Divide the binary number into groups of 3 bits. For each group of 3 bits, multiply...

How to Call Overridden Functions in C++ - As we have seen above that when we make the 'call to function' (involved in overriding), the child class function (overriding function) gets called. what if you want to call the C++

Check if Given Binary Tree is an AVL Tree - This is a C++ Program to check if BST is AVL. An AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an "AVL tree", the heights of the