# JavaScript Programming

## JavaScript > Code Examples

### Access the offset of the second paragraph

C++ Check whether a Vertex Cover of Size -
The problem takes E edges as input and then outputs whehter vertex cover of size K of the graph exists or not. 'Vertex Cover of a Graph' is, a set of vertices S, such that for every edge

C++ Program Finds the Area & Perimeter -
Enter width of rectangle and enter height of rectangle. Print the "area of rectangle". Print the perimeter of rectangle. Formula: Area of rectangle: height*width. Formula: Perimeter

Finds out the Roots of Quadratic Equation -
C Program calculates the roots of a quadratic equation. First it finds Discriminant using the Formula: Disc = 'y*y-4*x*z'. There are 3 types of roots. They are complex, distinct and equal

Program find Reverse of Negative number -
Write a recursive function in C Programming to find reverse of a number. To find reverse of a negative number use the logic for positive number reverse which I mentioned above. In

Remove all Repeated Characters in Strings -
C program to remove all Repeated characters in a String using loops. Input string from user. Remove all duplicate characters from a given string. Remove all occurrences of a character

Illustrate how User Authentication is Done -
C programming code asks for the username, password and displays the same to illustrate user authentication. Take the user name and password as input. Print the each character...

C Code Reads a Number of Objects by Size -
Reads a number of objects by size and stores them in buf. C programming code returns the number of items actually read. Get open a file and read. If there is an error give a message.

Code Prints Fibonacci Series upto n Terms -
C Programming print Fibonacci series up to n terms using loop. Fibonacci series is a series of numbers where the current number is the sum of previous two terms. For Example: 0, 1,