0

Hello every one, this is my first post since the day I registered. I need your help as I'm new to the programming world. I'm doing doing JavaScript and so far was going smooth.. But when I tried to work on the exercises that came with textbook, I failed.
Here's the Exercise:

var count = 0;
    var numbers = new Array(100);
    while(count > 100){
        numbers[count] = count;
        ++count
    }**
    while(count > 100){
    document.write(numbers[count]);
    ++count;
    }

- The code should fill the Array with the numbers 1 thru 100, and then print them to the screen. You need to identify and fix the logic flaws.
Please explain to me, thanks in advance.

1
Contributor
1
Reply
3
Views
5 Years
Discussion Span
Last Post by AHMED_DB
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.