Tuesday, 28 February 2012

do while loop

<html>
<body>
<script type="text/javascript">
i = 0;
do
{
document.write("The number is " + i);
document.write("<br />");
i++;
}
while (i <= 5);
</script>
</body>
</html>

No comments:

Post a Comment