 # Php Programming Code Examples

## Php > File Manipulation Code Examples

### Dir 2 Box

Code find maximum using ladder if.else.if - Instead of using Nested If Else. Lets combine 2 or more conditions together using Logical Operators. A number j1 among 3 numbers j1, j2 and j3 is said maximum if j1 > j2 and j1 > j3.

C++ Displays such a Pattern for n Number - C++ Program to display 'such a Pattern'. Each row will contain odd numbers of number. The first and last number of each row will be 1 and middle column will be the "row number". So n

Program to Implement Sorted Linked List - Program demonstrates the implementation of Sorted linked list to Balanced BST. Counts the number of nodes in linked list. Construct balanced BST and returns root of it. Returns

C Program Check the Year is Leap Year or - Check whether a year is Leap or not by using this Mathematical Logic. If a year is divisible by 4, 100 & 400 then it is a leap year. If a year is divisible by 4 but not divisible by 100 then...

C Number of Occurrences of an Element in - Code Count the number of Occurrences of an element in the linked list using recursion. This C Program uses recursive function & finds the occurrence for an element in an Unsorted list.

Find the Odd Element given an Array with - Will hold XOR of two odd occurring elements. Xor will basically be xor of two odd occurring elements. Get one set rightmost bit in the xor2. Now divide elements in two sets. XOR

Convert Binary to Hexadecimal in the C++ - To convert binary to hexadecimal in C++, you have to ask to the user to "enter any number" in binary to convert it into hexadecimal, then display the equivalent hexadecimal value on

Checks Given Graph is Strongly Connected - If there exists "Multiple Strongly Connected" component, graph is not strongly connected, it is otherwise. Implementation of Kosaraju's Algorithm to "Print all SCCs". Fills Stack with