JavaScript Programming
JavaScript > Code Examples
A Basic Starter Document
Converts Hexadecimal to Decimal Number -
C program to input hexadecimal number and convert it to Decimal number. Hexadecimal number system is a base 16 number system. It uses 16 symbols to represent all number i.e.
C++ Computes Discrete Fourier Transform -
This is a C++ Program to perform Fast Fourier Transform. A 'Fast Fourier transform' (FFT) is an algorithm to compute the discrete Fourier transform (DFT) & its inverse. Fourier analysis
Code Sum of Prime numbers between 1- n -
C program to find sum of all prime numbers between 1 to n using for loop. Prime numbers are positive integers greater than 1 that has only two divisors 1 and the number itself. For
C Find Maximum Between Three Numbers -
C program to input three numbers from user and find maximum between three numbers using conditional/ternary operator ?:. How to find maximum between three numbers using
Code fscanf Works Exactly Like the scanf() -
C Programming fscanf: works exactly like the scanf() function except that it reads from the stream. Returns the number of arguments actually assigned values or EOF on failure &
C++ Pointers to Pointer or Double Pointer -
Dereference operator or indirection operator, noted by asterisk, is also a "unary operator" in C++ languages that uses for pointer variables. 'Double Pointer' or Pointer to Pointer need to
C Code perform functions of a Calculator -
C Programing code to perform functions of a calculator: factorial, addition, subtraction, multiplication, division, squares. Sum of the input numbers. The difference between the
Calculate Display the Grade of the Student -
To calculate "grade of a student" on the basis of his total marks in C++ Programming, ask to the user to enter marks obtained in some subjects (5 subjects here). To calculate grade