Created
September 22, 2021 20:16
-
-
Save un1crom/b4c761e0a23787092c4a15778867a343 to your computer and use it in GitHub Desktop.
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
/*(<seed> ////write a javascript function to say Hello World!.. | |
</seed>) | |
<stop>});</stop> | |
<codeType>javascriptBrowser</codeType>*/ | |
//alert("Hello World!"); | |
////write a javascript function to display the current date and time.. | |
//var today = new Date(); | |
//document.write(today); | |
////Write a JavaScript function that accepts two integer values as parameters and calculates their sum.. | |
//function add(a,b){ | |
// return a+b; | |
//} | |
//console.log(add(1,2)); | |
////Write a JavaScript function that accepts three integer values as parameters and calculates their sum.. | |
//function add(a,b,c){ | |
//return a+b+c; | |
//} | |
//console.log(add(3,4,5)); | |
/* var num=prompt("enter number"); ///get user input from prompt window .....and print it on console.. */ ///check whether the number is even or odd ..and display it on console.... */ /// check whether the number is prime or not ...and display it on console.....*/ ///find factorial of a given number ...and display it on console......*/ | |
/*<output>{ | |
"console": {} | |
} | |
</output>*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment