<script language="javascript">
//run Script and watch what happened
var j=2;
i=1;
do
{
if(i>15)/*compiler come out from the loop if the value of i is greater than 15 */
break;
tab=i*j;
document.write(i+"*"+j+"="+tab+"<br/>");
i++;
}while(true);
</script>
No comments:
Post a Comment