# JavaScript Programming

## JavaScript > Code Examples

### 'accessKey' Property

Arithmetic, Assignment, Logical, Bitwise -
Arithmetic operators: +, -, *, /, %, addition, subtraction, multiplication, division, modulo. Assignments operators in C++ are: =, +=, -=, *=, /=, %=. Auto increment and decrement

Open Files & Compare Files in C Language -
Open first file, open second file then compare the files. If the file won't open giving message Error reading first file or Error reading second file. Files differ at byte number or files are the

Partition of a Number in all Possible Ways -
C++ Program to get all the unique partitions of an integer such that addition of a partition results an integer. An integer n, generate all "possible unique" ways to represent n as sum

For Statement is Typically used to Count a -
The "First section" specifies the starting point for the count. The "Second section" sets the counting limit. The "Last section" determines the "counting frequency". The formula of the

C Language Finding the Sum of H.P Series -
This C program is used to find the sum of the 'Harmonic Progression Series'. H.P stands for harmonic progression. Harmonic progression is a progression formed by taking reciprocals

Generate a Sequence of N Characters for a -
This algorithm takes the input of the 'specific' sequence. It generates random Subsequence from the given character string. A function to generate 'random' sequence of a given length

Code Sort N Numbers in Ascending Order -
C Program sorts the numbers in ascending order using bubble sort. Bubble sort is simple sorting algorithm that works by repeatedly stepping through list to be sorted, comparing

C++ Codings Find the Maximum Subarray -
Implement the 'naive method' to find the sub array having a maximum sum. The worst case time 'Complexity' of the algorithm is 'O(n*n)'. Take the input of the 'integer array'. Compare