# JavaScript Programming

## JavaScript > Code Examples

### 'acceptCharset' Property

Bubble Sorting on int array in C Language -
C program bubble sorting code on int array. Reading in numbers. Sorting them using a bubble sort. Comparing adjacent elements. Exchange elements. Display sorted list.

A Simple Function in C++ Programming -
A function is block of code which is used to perform a particular task, for example let's say you are writing a "Larger C++ Program", in that program you want to do a particular

Code find power of number using for loop -
C program to find power of a number using for loop. Input base and exponents from user. Store it in two variables say base and expo. Declare & initialize another variable to store

C Programs Depth First Binary Tree Search -
C program, using recursion, performs a depth first search traversal. Depth-first search (DFS) is an algorithm for 'Traversing or Searching' a tree, 'tree structure' or graph. The concept of

C++ Code Calculate Power of any Number -
For calculating the power of any number user have four possibilities to input values. Sample code only work for when we input +ve power, +ve 'base value', -ve base value. It is not work

C Code If ch is a printable character or not -
C program code asking the character from user to enter. Returns nonzero if character is a printable character, including a space; otherwise zero is returned. It's printable char.

C++ Language Convert Binary to Decimal -
Enter any number in binary to convert it into decimal, then display the equivalent decimal value on the output screen as shown here in the following program. In C++ program code

Find Angles of triangle if two angles given -
C Program to input two angles from user and find third angle of the triangle. How to find all angles of a triangle if two angles are given by user using C programming. Sum of angles of