# Php Programming Code Examples

## Php > Code Snippets Code Examples

### This function allows you to input your image , the percentage you wish

Dynamic Programming Algorithms in C++ - c contains the number of columns for each of the n matrices. c[ 0 ] is the number of rows in matrix 1. Minimum number of multiplications is left in m[1][n]. Actual ordering is computed

C Put Even & Odd Elements of an Array in - C Program puts even & odd elements of an array in 2 separate arrays. The program first finds the odd and even elements of the array. Then the odd elements of an array is stored

Reverse a Number Check it is Palindrome - Take the Number which you have to Reverse as the input. Obtain its quotient & remainder. Multiply the Separate variable with 10 & add the obtained remainder to it. Do step 2 again

Diameter Circumference & Area of Circle - C program code input radius of a circle from user and find diameter, circumference and area of the circle. How to calculate diameter, circumference and area of a circle whose...

The C++ Language While Loop Statement - The statements within the while loop would keep on getting executed till the "condition" being tested remains "true". When condition becomes false, the control passes to the first

C++ Programming Compares Two Strings - To compare two Strings in C++, enter the two string and start comparing using the function "strcmp()". If return 0, then both string will be equal and if not return 0, then both string will

Concatenate Two Strings strcat() Function - C program code 'Concatenate 2 strings' using strcat() library function. Logic to concatenate 2 strings in C Programming. Enter first string, enter second string and Concatenate str1 str2

C Find Volume and Surface Area of Sphere - C Program calculates the volume and surface area of sphere. The formula used in this code Surface_area = 4 * Pi * r2, Volume = 4/3 * Pi * r3 where r is the radius of the sphere, Pi= 22/7