Prev Demo
Returning The Arcsine Value Of The Number Enetered By The User
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <h1>Returning the arcsine value of the number enetered by the user</h1> <input type="button" onclick="myNumber()" value="Click to Enter Vlue"> <script> function myNumber() { val = prompt("Enter the value in between -1 to +1 to know the exact Arcsine value:", ""); alert('Arcsine value of entered number is::' + Math.asin(val)); } </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output