# JavaScript Programming

## JavaScript > Code Examples

### A function with only one statement

```
```

```
```

Program Remove given Word from String - This program takes string and its substring as input, removes the Substring from the string. Take a string, its substring as input and Store it in the array str[] & key[] respectively. Store

C++ Finding Median of Two Sorted Arrays - Program find the 'median' of elements where elements are stored in 2 'different arrays'. We need to find 'combined' median of 2 different 'data set'. So it includes sorting of both arrays

Encoding a Message Matrix Multiplication - This C++ Program perform 'encoding matrix' using a hidden-key. "Encoding" is performed using "matrix multiplication" between given matrix and 'key matrix'. Enter the number of

C Program to find Transpose of a Matrix - C program to read elements in a matrix and find transpose of the given matrix. How to find transpose of a given matrix in C. Input elements in matrix A from user. Declare...

Find Reverse of String by strrev() Function - C program code find Reverse of a given string using Loop. There are numerous ways to find reverse of a string. Input the string from user, store it in a variable say "str". Declare another

C++ Language Implements Binomial Heap - Linking nodes in binomial heap. Create nodes in binomial heap and Insert nodes in binomial heap. Union nodes in "Binomial Heap". Merge nodes in binomial heap. And display binomial

Count total number of Vowels Consonants - C program to find total number of vowels and consonants in a string using 'Loop and If Else'. 'Input String', store it in some variable say str. Initialize 2 other variables to store vowel and