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 Looping Array Lookup

Checking Whether Number is Even or Odd - In this example, if...else statement is used to check whether a number entered by the user is "even or odd". Integers which are perfectly "divisible by 2" are called even numbers. And

Code Perform Binary Search use Recursion - C program, 'using recursion', performs binary search. In this c program, an array of random number is generated. User is asked to enter a key. The array of random numbers are sorted

C++ Programs to Implement Skew Heap - Inserting element "into the heap". Deleting "maximum element" from the heap. Merge two heaps. Print the 'maximum element' of the heap. And merge the present heap with

C++ Program to Implements the B+ Tree - A B+ tree is an n-ary tree with a variable but often large number of "children per node". A B+ tree consists of a root, internal nodes and leaves. The root may be either a leaf or node

Remove Spaces from Strings or Sentences - To remove or delete spaces from the string or sentence, enter a 'string'. Then start checking for spaces. If 'Space will be Found', then start 'Placing the next character' from the space to

Program print Strong Numbers in a Range - Strong number is special number whose sum of Factorial of Digits is equal to the original number. For example: 145 is strong number. Since, 1! + 4! + 5! = 145 Logic to print Strong

Code Print the Words Ending with Letter S - This program takes a string as input and print the words ending with letter "s". Take a string as input and store it in the array str[]. Find its length & add a blank space to the input string

C Reversal of a Singly Linklist by recursion - Function for inserting an element into a list. Function for displaying the list. Function for reversing the list by recursion. Stores the address of the first element. Also stores the