This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var input=prompt("Enter a value"); | |
var v=input; | |
var count=0; | |
for(var i=1; i<input; i++) | |
{ | |
if(input%i==0) | |
{ | |
count=count+i; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Write a JS program to check given number is perfect number or not. | |
2. Write a JS program to check given number is Armstrong number or not. | |
3. Write a JS program to check given number is prime number or not. | |
4. Write a JS program to check given number is strong number or not. | |
5. JS program to check a number is odd or even. | |
6. Write a JS program to check given number is palindrome number or not. | |
8. Write a JS program to check given string is palindrome number or not. | |
7. Write a JS program to solve quadratiJS equation. | |
8. Write a JS program to print Fibonacci series of given range. |
NewerOlder