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


JavaScript Programming

JavaScript > Code Examples

A html page structure for using dojo





Program Find the Area of Scalene Triangle - First Input the length of a side of the triangle. Then Input the 'length of another side' of the triangle, then input the angle between these sides of the triangle. The area of the Scalene

C++ Bitap Algorithm and String Matching - The algorithm tells whether a text contains a substring which is "approximately equal" to a given pattern, where approximate equality is defined in terms of Levenshtein distance and

Program Finds the Peak Element of Arrays - Implement the binary search to find a peak in the array. If the 'middle element' is more than its both Neighbors, 'it is the Peak'. Otherwise, split the array and check the same. A function

C Programs Calculates the Simple Interest - Program calculates the simple interest given the principal amount, rate of interest & time. The Formula to calculate the Simple interest is: simple_interest = (p * t * r) / 100 where p...

Find the Frequency of Substring in Strings - Take a string and a substring as input. Store it in the arrays 'str[] & str1[]' respectively. Using For Loop to 'compare' str1[] with the str[]. Do step2 until the end of main string. During the

Program Construct a Balanced Binary Tree - Construct a balanced binary tree using sorted array. Given binary search tree example. The preorder traversal of binary search tree is as follows. Create a new node and a balanced...

C Language Passing Pointer to a Function - Passing a Pointer to a Function in C language. When pass a Pointer as an Argument instead of a variable then the address of the variable is passed instead of the value. So any change

Using Insertion Sort Technique in The C++ - To sort an array using insertion sort, enter the array size and then array elements in random order. Start Sorting the Elements of the array in Ascending Order using insertion sort as like