## JavaScript Program to check a number is a strong number or not

In this program, You will learn how to check a number is a strong number or not in JavaScript. while(condition){ //statement //increment/decrement } Example: How to check a number is…

## JavaScript Program to check a number is a perfect number or not

In this program, You will learn how to check a number is a perfect number or not in JavaScript. while (condition) { //statement //increment / decrement } Example: How to…

## JavaScript Program to find factorial of a number

In this program, You will learn how to find factorial of a number in JavaScript. for (init; condition; increment/decrement) { // statement } Example: How to find factorial of a…

## JavaScript Program to print sum of first 10 natural numbers

In this program, You will learn how to print the sum of the first 10 natural numbers in JavaScript. for (init; condition; increment/decrement) { // statement } Example: How to…

## JavaScript Program to perform arithmetic operations using switch case

In this program, You will learn how to perform arithmetic operations using a switch case in JavaScript. switch(expression) { case 1: // statement break case 2: // statement break default:…

## JavaScript Program to swap two numbers without using a third variable

In this program, you will learn how to swap two numbers without using a third variable in JavaScript. x = x + y y = x - y x =…

## JavaScript Program to find remainder without using the modulus operator

In this program, you will learn how to find remainder without using the modulus operator in JavaScript. while (x >= y) { x = x - y } Example: How…

## JavaScript Program to find quotient without using the division operator

In this program, you will learn how to find a quotient without using the division operator in JavaScript. while (x >= y) { x = x - y q++ }…

## JavaScript Program to find quotient and remainder

In this program, you will learn how to find quotient and remainder in JavaScript. q = x / y r = x % y Example: How to find quotient and…

## JavaScript Program to print table of any number

In this program, you will learn how to print a table of any number in JavaScript. for(initialization; condition; increment/decremnet){ //statement } Example: How to print a table of any number…