Php Programming Code Examples
Php > Look and Feel Code Examples
Alternating Row Colors
C Code Reverse the Stack using Recursion -
C program code, 'using recursion', reverses a Stack content. Stack here is represented use a linked list. A Linked List is an ordered set of "Data Elements", each containing a link to its
Calculate the Sum of the Elements of each -
Program code take the MxN matrix as input. Define two functions separately for row sum and column sum. Use for loops to calculate the sum of the elements of each row and...
C++ Sample How to Use If Else Statement -
In Programming, The "if statement" by itself will execute a single statement, or a group of statements, when the expression following if evaluates to "true". It does nothing when the
C++ Sample Codes Implement Merge Sort -
Merge-Sort is based on an algorithmic design pattern called Divide & Conquer. It forms tree structure. The height of the tree will be log(n) And we merge n element at every level of the
Program to Implement the RSA Algorithm -
Encodes any message using 'RSA Algorithm'. Input is 'Case Sensitive' and works only for all characters. RSA is one of the first practicable 'public-key' cryptosystems and is widely used
Checks a Character is Vowel or Consonant -
The five alphabets 'A, E, I, O and U' are called 'vowels'. All other alphabets except these five vowel letters are called consonants. Program above assumes that the user always enters an
C Program to find determinant of a matrix -
C program to read elements in a matrix and find determinant of the given matrix. The Determinant of a matrix is a special number that can be calculated from the elements of
C++ Programming Bubble Sort Algorithm -
The Bubble Sort is a simple sorting algorithm that 'repeatedly' steps through the List to be sorted, compares each pair of adjacent items and swaps them if they're in the wrong order.