# JavaScript Programming

## JavaScript > Code Examples

### A Browser History Count

Finds First Occurence of the any Character -
Program takes 2 strings as input and finds the first occurence of the any character of String2 in String1 & also its position. Take two strings as input. Compare both the strings using two

C Number is Prime or Not using Recursion -
The following 'C Language Program' to using recursion, finds whether the entered number is a prime number or not. A 'prime number' is integer that has no integral factor but itself &

C++ List of Signals along with description -
In C++ programming, "signals" are interrupts of software which is delivered to a process by the OS ("operating system"). Signals can also be issued by the OS on the basis of system or

C++ Sample Code Make Simple Calculator -
To make a simple calculator in the C++, which performs basic four mathematical operations (addition, subtraction, multiplicatin, division) depending on the "user's choice", switch case

C++ Performing Edge Coloring of a Graph -
In graph theory, an "edge coloring" of a graph is an assignment of colors to the edges of the graph so that no two adjacent edges have the same color. Any "2 edges" connected to same

C++ Program Finds Transpose of a Matrix -
First we have to clear about what is transpose of a matrix. Its to replace the number of rows with number of colums, vice versa to make a new matrix. So for example if a matrix 'A' has

C Program Convert Binary to Hexadecimal -
C Language program takes a binary number as input and converts to hexadecimal. Take a binary number as input. And divide the binary number into groups of 4 bits. For each group

Program to Find the Biggest of 3 Numbers -
This program takes the 3 numbers & finds the biggest among all. Take the three numbers as input and Check the First number if it Greater than other two. Repeat the step 2 for other 2