var a=new Array();for(i=0;i<9;i++)a.push(Math.ceil(Math.random()*100));a.sort();a.push(prompt("enter a interger:");a.sort();