Nested For Loop to populate matrix

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • debasisdas
    replied
    The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

    Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

    Then when you are ready post a new question in this thread.

    MODERATOR

    Leave a comment:


  • slvr02scooby
    started a topic Nested For Loop to populate matrix

    Nested For Loop to populate matrix

    So this is an introductory course, but i'm having the hardest time understanding how to do this problem. By clicking on one button it's supposed to have the following output:

    0 1 2 3 4
    5 6 7 8 9
    10 11 12 13 14
    15 16 17 18 19
    20 21 22 23 24
    25 26 27 28 29
    30 31 32 33 34
    35 36 37 38 39
    40 41 42 43 44
    45 46 47 48 49

    Five numbers a line for 10 lines.I know we're required to use two For Statements and supposed to use carriage return-line's but I know it's easier to use vbnewline which is ok. Of course I had an example that was similar but apparently i only saved the project and not the code...=/

    Any help would be greatly appreciated!
Working...