# JavaScript Programming

## JavaScript > Code Examples

### A function with arguments, that returns a value

Implementation for Top-Down Splay Tree -
Finding the smallest item in the tree. Not the most efficient implementation ('two passes'), but has correct "amortized behavior". A good alternative is to first call Find with parameter

C Earth years to other Planets Conversions -
Display conversions in C. Equivalent mercury years. Equivalent venus years. Equivalent mars years. Equivalent jupiter years. Saturn years. Uranus years, Neptune years, Pluto...

C Program Find Square Root of a Number -
C input a number and find square root of the given number. How to find square root of a number in C programming using inbuilt sqrt() function. Using predefined sqrt() function to

Code Converts Binary Number to Decimal -
C language code to convert binary to decimal number system. The Binary number system is base 2 number system & uses only 2 symbols to represent all its numbers i.e. 0 and 1. Input

C Language Continue Statement For Loop -
The continue statement is used inside loops. When a continue statement is encountered inside a loop, control jumps to the beginning of the loop for next iteration, skipping the...

Find the Length of the Linked List without -
C Language program Find the Length of the linked list without using recursion. Program, using iteration, counts the number of nodes in a Linked List. A linked list is an ordered set

C Code Remove Spaces Blanks from String -
C program remove extra spaces, blanks from the string. Removes 'extra blank spaces' from the given string and returns a new string with single "blank spaces" and skip all consecutive

Number of days in a Month by switch case -
C Program to Input month number and Print Total Number of Days in Month using switch case. Input month number from user. Store it in some variable say month. Switch the value