# JavaScript Programming

## JavaScript > Code Examples

### Add panel to window items

```
```

```
```

Check Whether a Number is Prime or Not - A prime number is a positive integer which is divisible only by 1 and itself. Example: 2, 3, 5, 7, 11, 13... If the for loop terminates when the test expression of loop i <= n/2 is false, it is a

Sum of each Row and Columns of a matrix - C program to read elements in a matrix and find the sum of elements of each row and columns of matrix. C program to calculate sum of rows and columns of matrix. Input...

Simple Class Called Cube in C++ language - The object should calculate the 'total area' & the volume based on the side measurement. If the program supplies a side equal or lower than 0, reset the side to 1. "Create an empty"

Find Sum of Odd Numbers in given Range - How to find sum of all odd numbers in a given range in C programming. Input upper limit to find sum of odd numbers from user. Store it in a variable say N. Initialize other variable to

Program Print Fibonacci Series in a Range - Fibonacci series is a series of numbers where the current number is the sum of previous 2 terms. For Example: 0, 1, 1, 2, 3, 5, 8, 13, 21,... Here c is the current term, b is the n-1th term

If Else If Statement & Multiple Conditions - In this control structure we have only one 'if' and one 'else', however we can have multiple 'else if' blocks. This is how it looks: If none of the 'condition is true' then these statements

C Programming language WAV file player - You need a HUGE memory model to run this. Checks to see if a Sound Blaster exists at a given address, returns true if Sound Blaster found, false if not. Send a byte to the DSP