# JavaScript Programming

## JavaScript > Code Examples

### Accessing a Plug-In

C++ Swap 2 Numbers using Built in Swap -
C++ code which take two numbers from user and swap using built in swap function. Code takes two input and displays numbers before and after swapping. Note: If we remove std::

Find First Capital Letter in a String without -
Program using iteration, finds the first capital letter that exists in a string. We have included ctype.h in order to make use of int "isupper()" C Function that's Defined inside the "ctype.h"

C Perform Matrix Multiplication Recursion -
C program, 'using recursion', performs Matrix multiplication of 2 'matrices' and displays the result. We use 2 D array to represent a matrix & resulting matrix is stored in different matrix

Generates Random Directed Acyclic Graph -
This algorithm takes the input of the number of edges 'e' in the random "DAG". It connects 2 'Random Vertexes' and checks for any cycle generated due to this edge. If yes discard this

C++ Generate N Number of Passwords of -
C++ Program to generate N passwords each of 'length M'. Problem focuses on finding the N permutations each of length M. Generates random number between 1 and 10. Enter the

Simple Singly Linked List Programs in C++ -
In C++, Linked list is a linear collection of data elements, called nodes, each pointing to the next node by means of a pointer. So this is a data structure consisting of a group of nodes

C Language Calculating the Typing Speed -
Your time has started. Start typing. Hit Esc when done. Erase previous character instead of cursoring. Eliminate a special character that is printed for Esc. A Backspace followed

Simple C++ Coding for Single Inheritance -
Start the C++ program. Declare the base class emp. Define and declare the function get() to get the employee details. Declare the derived class salary. "Declare and define" the function