This website requires JavaScript.
Explore
Help
Sign In
michael
/
programming-examples
Watch
1
Star
0
Fork
0
You've already forked programming-examples
Code
Issues
Pull Requests
Releases
Wiki
Activity
f4fa9cdf8e
programming-examples
/
js
/
Conditional
History
Michael Reber
b880c3ccde
Initial commit
2019-11-15 12:59:38 +01:00
..
Write a JavaScript conditional statement to find the largest of five numbers. Display an alert box to show the result..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript conditional statement to find the sign of product of three numbers. Display an alert box with the specified sign..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript conditional statement to sort three numbers. Display an alert box to show the result..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript for loop that will iterate from 0 to 15. For each iteration, it will check if the current number is odd or even, and display a message to the screen..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript program that accept two integers and display the larger..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript program to compute the greatest common divisor (GCD) of two positive integers..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript program to construct the following pattern, using a nested for loop..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript program to find and print the first 5 happy numbers..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript program to find the armstrong numbers of 3 digits..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript program to sum the multiples of 3 and 5 under 1000..js
Initial commit
2019-11-15 12:59:38 +01:00
Write a JavaScript program which compute, the average marks of the following students Then, this average is used to determine the corresponding grade..js
Initial commit
2019-11-15 12:59:38 +01:00