# Php Programming Code Examples

## Php > Authentication Code Examples

### Using Postgres and PHP3 Authentication from a Web application

Code Find Largest of Three input numbers - C program to will prompt user to input three integer numbers and based on the input, it would compare and display greatest number as output. In this program number1, number2

C Programs Prints Prime Number Pyramid - Printing Prime Number Pyramid. To Evaluate Number is Prime or not Consecutively divide that number from 2 to n/2. To find whether 17 is 'Prime or Not' divide that number from 2 to

Program Convert Decimal to Hexadecimal - In C++ programming, you have to ask to the user to enter the desired decimal number to convert it into hexadecimal number to print the equivalent value in hexadecimal format

Code to Self Balancing Binary Search Tree - Make the "Tree Logically" empty, insert data and get "height of node". Function to max of left/right node, insert data recursively. Rotate binary tree node with left child. Rotate binary

Implement Extended Eucledian Algorithm - Program demonstrates the implementation of "Extended Eucledian" Algorithm. For the 'Modular Multiplicative Inverse' to exist, the number & modular must be coprime. Return

C programming A Power Calculator Code - This C code will calculate the power in watts when you input the voltage and current. Get the voltage. Enter the voltage in volts. Get the current. Enter current in amps. Calculate

Program Prints Prime Numbers Between 2 - Example to print all 'prime numbers' between two numbers in C++ Language. This problem is solved using nested for loop and if...else. In this program, the while loop is iterated times.

C Programming Codings Checks Leap Year - C Language program check leap year using if else. Wikipedia states Leap Year as a special year containing one extra day i.e. total 366 days in a year. A year is said to be leap year,...