# JavaScript Programming

## JavaScript > Code Examples

### 3d text effects

C++ Sample How to Use If Else Statement -
In Programming, The "if statement" by itself will execute a single statement, or a group of statements, when the expression following if evaluates to "true". It does nothing when the

Count Frequency of Characters in The C++ -
Frequency of character in a string means how many times a "particular character" is present in a string. In sample; suppose we have string hitesh in this word h repeated 2 times, it's the

Sum of Natural Numbers using Recursion -
C Program find the sum of Natural Numbers using recursion. The 'Positive Numbers' 1, 2, 3... are known as natural numbers. Program below takes a positive integer from the user

C Output of a Program is Input of Another -
Pipe the output of program to the input of another. Duplicate stdin and stdout so we can restore them later. Make the write end of the pipe stdout. Run the program. Its output will

C++ Compute Combinations by Factorials -
Prints a total number of combination possible for given n and r value. The "time complexity" of this algorithm is O(n). This algorithm takes the input of n and r value. Function to find the

C++ Code for Two Dimensional (2D) Array -
"Two dimensional" (2D) array can be made in C++ Language by using two for loops, first is outer for loop and the second one is inner for loop. Outer for Loop is responsible for rows

Implement Stack Operations Using Arrays -
Program code for implementing a stack using arrays. It involves various operations such as push, pop, stack empty, stack full and display. We have created 'stack' structure. We have...

C++ Code Matrix Multiplication 2D Arrays -
Matrix addition is the "operation of adding" 2 matrices by adding the corresponding entries together. 2 dimensional array, represented in the form of "rows and columns", also suitable