Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

Php Programming Code Examples

Php > Graphics Code Examples

Simple bar graph

Program Code Find Factorial of a Number - Program to input a number and calculate its factorial using for loop. Factorial of a number n is product of all positive integers less than or equal to n. It is denoted as n!. ex. 5! = 120

Find The Perfect Number In C++ language - For example 6 is Perfect Number since divisor of 6 are 1, 2 and 3. Sum of its divisor is 1 + 2+ 3 =6 and 28 is also a 'Perfect Number' since 1+ 2 + 4 + 7 + 14= 28. Other 'Perfect Numbers': 496

Program to Check if a Binary Tree is a BST - Returns true if the given tree is a BST and its values are >= min & <= max. Allocates a new node with the data and "NULL" left and right pointers. The Given Binary Tree is a "BST" or

Implement Dijkstra's Algorithm Using Set - This is a C++ Program to find "shortest path". Dijkstra's algorithm is very similar to Prim's algorithm for minimum spanning tree. Like "Prim's MST", we generate a SPT with given

C code to Check and Read Identity Matrix - C program to read elements in a matrix and check whether matrix is an Identity matrix or not. Identity matrix is a special square matrix whose main diagonal elements is equal to 1

Mine Sweeper Game C Programming code - Graphic program about Mine Sweeper. Put mines in random blocks. Put mines value in other blocks. Sets view port to the play area only. Puts F tag in Array. Determine current

Code print all unique elements in an array - C Program to read elements in an array and print all unique element present in array. C program to find unique/distinct elements in an array. Logic to print all unique elements...

Converts Octal Number to Binary Number - In this c program code we have created a user defined function octalToBinary(). Function converts the octal number (entered by user) to decimal number first and then converts...