May 7, 2013

Displaying random number between 1-10

Coding

<html>
<body>
<script language="JavaScript">
no=Math.random()*10
document.write(Math.round(no))
</script>
</body>
</html>

No comments:

Post a Comment

Popular Posts

Views