hi there,
Help me adding some codes so that the following "loto numbers "be sorted..from the lower to the higher numbers..
<h1>
<center>
<script>
for(m=0;m<6;m++)
{
ss=Math.floor(Math.random()*49+1)+"--"
document.write(ss)
}
</script>
:wave:
Printable View
hi there,
Help me adding some codes so that the following "loto numbers "be sorted..from the lower to the higher numbers..
<h1>
<center>
<script>
for(m=0;m<6;m++)
{
ss=Math.floor(Math.random()*49+1)+"--"
document.write(ss)
}
</script>
:wave:
use bubble sort
http://acid.freewebpage.org/JScript.html?script=0001