# Php Programming Code Examples

## Php > Algorithms Code Examples

### A suite of financial management functions including present and future

Simple C++ Codings for Virtual Base Class -
Declare & Define the Functions getnumber() and putnumber(). And declare and define the function 'getmarks()' and 'putmarks()'. Create the derived class sports virtually derived from

Finds Factorial of Number using Recursion -
This c program prompts user for entering any integer, finds the Factorial of input number & displays the output on screen. Use a recursive user defined function to perform the task. We

C Codes Sort Even Odd Elements of Array -
C program to input elements in an array from user and sort all even and odd elements of the given array separately without using any other array. If minimum element of the array

C Program Depth First Binary Tree Search -
C program, using iteration, performs a Depth First Search traversal. Depth-first search DFS is an algorithm for 'Traversing or Searching a Tree', tree structure or graph. The concept of

Perform Unique Factorization of Numbers -
Program finds the Unique paritions of a given integer such that addition of a partition result an integer. A positive integer n, "generate" all possible unique ways to represent n as sum of

Program Solves the Magic Squares Puzzle -
Using iteration, finds the Magic Square for a given odd sized number. A magic square is an arrangement of numbers from 1 to N^2 in an [N x N] matrix, with each number occurring...

CGI Programs using C++ in Programming -
CGI stands for common gateway interface is set of standards that define how information is exchanged from a 'webserver', passing the web user's request to an application program

C Code Perform all Arithmetic Operations -
C program input two numbers and perform all arithmetic operations. How to perform all arithmetic operation between two numbers in C programming. C program to find sum,...