Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

JavaScript Programming

JavaScript > Code Examples

A Clock Script

Program Code Calculates the Value of nPr - C Program code calculates the value of nPr. A permutation is a re-arrangement of elements of a set. And any duplications of the collected elements in different orders is allowed. Then

Finding all Roots of a Quadratic Equation - Find all roots of a quadratic equation using if else. Input coefficients of quadratic equation from user. Store it in some variable say a, b, c. Find Discriminant of the an Equation, using...

Program Print several types of Alphabets - Print phonetic alphabet. Print lower case greek alphabet. Print lower case hebrew alphabet. Print the lower case phoenician alphabet. Print lower case arab alphabet.

Calculate Sum and Difference of Matrices - C Program calculates the sum & difference of the matrices. Code first reads 2 matrices and then performs both addition and subtraction of matrices. Sum of elements of matrix A and

C Checking Armstrong Number of n digits - Check Armstrong Number of n digits. In case of an Armstrong number of 3 digits, the sum of cubes of each digits is equal to the number itself. Example 407 = 4*4*4 + 0*0*0 + 7*7*7

C Code Find Power of a Number Recursion - C Language program code to find Power of a Number using Recursion. Power of a number is the number multiplied to itself for number of times it has been raised to Exam. 9^3=729

C program to Getting the Time as a String - Returns the time as a string in 12 or 24 hour format. Stores the time as a string. Getting time value. Getting time and date structure. Save the hour value. Adjust if 12 hour format.

C Code Increment & Decrement Operators - C programming language has two operators increment ++ and decrement -- to change the value of an operand (constant or variable) by 1. Increment ++ increases value by 1 whereas