<body>
<script language="JavaScript">
     var cnt = parseInt(window.prompt("Start at?","1"));
     var max = parseInt(window.prompt("Stop at?","5"));
     var step = parseInt(window.prompt("Step size?","1"));
     for ( ; cnt <= max; cnt = cnt+step)
    document.write(cnt+” play it again, Sam<br>");
</script>
</body>