I want to type a loop that displays the numbers from 1-100, which the user chooses.
var x = Prompt for <(I = 0; i Why this work does not do?
I am reading Javascript myself, and I am trying to understand it.
Can anyone help?
You need to purge the x.
var x = parseInt (prompt (" you want to see increase increments ")); {Document.write (i + "") for (i = 0; i & lt; = 100; i = i + x); }
No comments:
Post a Comment