# JavaScript Programming

## JavaScript > Code Examples

### A for loop

Program Check If a Number is Palindrome -
If a number remains same, even if we reverse its digits then number is Palindrome number. So 10201 is a Palindrome Number because it remains same if we reverse its digits. C codes

Code Converts Decimal to Binary Number -
C Program Code input Decimal number from user and convert to binary number system. Decimal number system is a base 10 number system. Decimal number system uses only 10

C Program Code Find Transpose of Matrix -
In this c program, user is asked to entered the number of rows r and columns c. The value of r and c should be less than 10 in this program. The user is asked to enter elements of the...

Substring Of String Without Using Library -
C program to find substring of string without using 'Library Function'. Accept input is state forward step. Call user 'defined function' and consider following strings are entered by the

C Programming calculator use Switch Case -
Step by step descriptive logic to create menu driven calculator that performs all basic math operations. Input 2 numbers and a Character from user in the given format. Store them in

Implementing Disjoint Set Data Structure -
This C++ program implements the "Disjoint" Set data structure. It is a data structure that keeps track of a set of elements partitioned into a number of disjoint ("nonoverlapping")

Code to find Sum of Digits using recursion -
Write a Recursive Function in C Language to calculate sum of digits of a number. Declare Recursive Function to find sum of digits of a number. First give a meaningful name to the

C++ Sorting a Given Data Using Shell Sort -
Shell sort is improvement over insertion sort. It 'compares' the element separated by a gap of several positions. A data element is sorted with 'multiple' passes and with each pass gap