 # JavaScript Programming

## JavaScript > Code Examples

### Array loop, find: Control array : Two dimension array

Program to Calculate Average of Numbers - Takes n number of element from user (where, n is specified by user), stores data in an array and calculates the average of those numbers, program calculates the average if the number

A Calculator Add Subtract Multiply Divide - Takes an "arithmetic operator" (+, -, *, /) and two operands from an user and performs the operation on those two operands depending upon the operator entered by user. Program

C++ Implement Gauss Jordan Elimination - This method can also be used to find the rank of a matrix, to calculate the determinant of a matrix, to calculate the "inverse" of invertible square matrix. C++ Gauss Jordan Elimination

C++ Describe the Representation of graph - Takes the input of the 'number of vertex'. For each pair of vertex ask user whether they are connected or not. Print the adjacency matrix. A function to print the adjacency matrix. And

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")

C Program Converts Strings to LowerCase - Program code to 'convert' uppercase string to lowercase using for loop. First check whether the given character is 'uppercase' alphabet or not. If it is Uppercase Alphabet just add 32 to

C++ Programming Code Check Leap Year - Program checks whether an year ("integer") entered by the user is a leap year or not. All years which are "perfectly divisible" by 4 are leap years except for century years which is

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