Search:

Type: Posts; User: Hazimo13

Search: Search took 0.07 seconds.

  1. Replies
    6
    Views
    5,440

    Re: how to display a bar chart using loops

    Thanks Ubiquitous,
    I tried to help dwheeler and I am learning at the same time, I have used the arrays as you suggested, and it made the code lighter, (with only 2 "for" loops in the code) and it's...
  2. Replies
    6
    Views
    5,440

    Re: how to display a bar chart using loops

    Yes, I think because in the main loop, for storeNum = 1, all the loops for the counters will execute one after the other (count, count1,...,count4) and gives 5 stars, then the program will come back...
  3. Replies
    6
    Views
    5,440

    Re: how to display a bar chart using loops

    Hi dwheeler,

    It looks like the loops "for" of all the counters (counter1, counter2,...) will execute for every store (store1, store2,....)
    For store1 only counter1 must be used to print the *s,...
Results 1 to 3 of 3