# JavaScript Programming

## JavaScript > Code Examples

### A Basic HTML Page

C++ Coding Find Factorial using recursion -
User enters a number which stores in variable "num". Then number "passes as argument" in function call A static variable is used to check that how many times function is called. When

C Language Coding Print Alphabets a to z -
Internally C represent every character using ASCII character code. ASCII is a fixed integer value for each global printable, non-printable characters. For example ASCII value of a=97,

C++ Finds Maximum Element in an Arrays -
Construct "Binary Search" tree for "unsorted" data array. For the 'Maximum element' move the pointer to the rightmost child node. This value will be the minimum value among data.

C Program code Generate Fibonacci Series -
Generates fibonacci series. In fibonacci series the first 2 numbers in the Fibonacci sequence are 0, 1, each Subsequent Number is the sum of the previous two. Example 0, 1, 1, 2, 3, 5, 8,

Program Add Two Numbers Using Pointer -
In program we're going to accept 2 numbers from user using pointer. After accepting Two Numbers we are going to add Two Numbers by using "De-reference Operator" in Pointer.

Checks Cycle in a Graph using Topological -
Displaying the "Topological Sort Method" of finding whether a given graph contains cycle or not using Kosaraju's Algorithm. Enter the source and destination. Cycles exist in graph.

Calculate Area and Perimeter of Rectangle -
To calculate "area and perimeter" of a square and rectangle in C++ Programming, you have to ask to the user to enter length and breadth of the rectangle and side length of the square

Check Prime, Armstrong, Perfect Number -
C First give a meaningful name to our prime checking function say isPrime() function will check a number for prime. Since our function checks a number for prime condition. Hence