# Need help in intialising arrays to set three group totals....

Page 1 of 1

## 1 Replies - 1837 Views - Last Post: 13 March 2013 - 09:33 PMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=315274&amp;s=692a111d95eaaef8c779d1fb7268cb29&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 meg123

Reputation: 0
• Posts: 1
• Joined: 13-March 13

# Need help in intialising arrays to set three group totals....

Posted 13 March 2013 - 04:42 AM

I need help intialising arrays to set three group totals and increment the total for the appropriate group. I also need help deciphering this pseudocode.
-Intialise arrays to set three group totals
Get the quantity of orders to be processed
Loop for quantity of orders
Get a valid order form number
Process Orders
Get order value
Increment the total for the appropriate group
End loop
Display group number and amount raised

ive done some of the program but i dont know how to intialise arrays to set three group totals and incrementing the totals for the appropriate groups.

Is This A Good Question/Topic? 0

## Replies To: Need help in intialising arrays to set three group totals....

### #2 BobRodes

• Lovable Curmudgeon

Reputation: 600
• Posts: 3,069
• Joined: 19-May 09

## Re: Need help in intialising arrays to set three group totals....

Posted 13 March 2013 - 09:33 PM

Sounds like you need to get back with your instructor and get some clarification of what the terms mean. You have good reason not to know how to "initialise arrays to set three group totals" because the terms are ambiguous. Arrays don't set anything, they hold information. What do they hold? "Group" isn't defined. Groups of orders, I assume, but how are the orders grouped? "Loop for quantity of orders": loop what?