Skip to content
Xiith
  • Home
  • C
  • C++
  • C#
  • Java
  • Python
  • Kotlin
  • R
  • Go
  • JavaScript
  • About us
Search for:
Menu Close
  • Home
  • C
  • C++
  • C#
  • Java
  • Python
  • Kotlin
  • R
  • Go
  • JavaScript
  • About us

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 check a…

Continue Reading JavaScript Program to check a number is a perfect number or not

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…

Continue Reading JavaScript Program to find factorial of a number

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…

Continue Reading JavaScript Program to print sum of first 10 natural numbers

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:…

Continue Reading JavaScript Program to perform arithmetic operations using switch case

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 =…

Continue Reading JavaScript Program to swap two numbers without using a third variable

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…

Continue Reading JavaScript Program to find remainder without using the modulus operator

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++ }…

Continue Reading JavaScript Program to find quotient without using the division operator

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…

Continue Reading JavaScript Program to find quotient and remainder

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…

Continue Reading JavaScript Program to print table of any number

JavaScript Program to find the largest of three characters

In this program, you will learn how to find the largest of three characters in JavaScript. if(condition){ //statement }else{ //statement } Example: How to find the largest of three characters…

Continue Reading JavaScript Program to find the largest of three characters
  • 1
  • 2
  • Go to the next page

Recent Posts

  • JavaScript Program to check a number is a perfect number or not
  • JavaScript Program to find factorial of a number
  • JavaScript Program to print sum of first 10 natural numbers
  • JavaScript Program to perform arithmetic operations using switch case
  • JavaScript Program to swap two numbers without using a third variable
Xiith is created for educational, experimental, and schooling purpose. Examples on Xiith are made easier to make a better or basic understanding. Tutorials, testimonials, and examples are continuously checked to avoid delusion, but we cannot take complete responsibility of all programs on Xiith. When you are operating this site, you have to agree to read and accept our terms of use, cookie and privacy policy. Copyright © 2021 by Xiith. All Rights Reserved. About us.