# Php Programming Code Examples

## Php > Calendar Code Examples

### Customizable Calendar Class

Converts Decimal Number to Octal in C++ - In the program, the decimal number is stored in the variable decimalNumber and passed to function decimalToOctal(). Function converts the 'decimal number' passed to its equivalent

Print Nth Node from the last of Linked list - C Language code to prints the Nth node from the Last Node of a Linked List. The approach used is to first point a pointer to a node which is N nodes ahead from the head. Then, move

Program Copy String with strcpy Function - Input a "string from user" and store it to some variable say text1, declare another variable to store "copy of first string" in text2. Run a loop from 0 to end of string. Loop structure should

C code simple Two Dimensional(2D) Array - Program code demonstrates how to store the elements entered by user in a 2d array and how to display the elements of a 2D array. Two dimensional array in C programming is

The Greatest Number between 3 Numbers - This c++ program shows the greatest number between 3 numbers use 'if-else-if' statement. It takes three numbers as input from user and output the greatest number. Enter value first

C Program Code Find Length of the String - "Gets()" is used to accept string with Spaces and we are "Passing accepted String" to the function. Inside function we have stored this string in pointer. Inside "While Loop" we are

Code to find the Frequency of Odd & Even - Program code finds frequency of odd & even numbers in the given matrix. The program first accepts the matrix. Then finds the odd and even numbers in a matrix. Then finds the

C Programs Calculates Standard Deviation - C Language calculateSD() function calculates the Standard Deviation. The array containing 10 elements is passed to the function and this function calculates the Standard Deviation &