C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 29th, 2004, 03:53 AM
Sadie Sadie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 Sadie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Two dimensional array

Please i need assistance on this program urgently.
Temperatures are measured in five days. There are six swimming pools. read in temperatures and store them in five rows and six columns. Display the highest temperature for each day and display the lowest temperature of each swimming pool. Data
Day1: 22.2 23.2 24.2 22.5 23.5 24.5
Day2: 23.1 22.8 24.3 22.1 23.9 24.0
Day3: 23.0 24.1 24.8 23.0 24.0 24.6
Day4: 23.5 24.2 24.9 23.4 24.2 24.7

Reply With Quote
  #2  
Old June 29th, 2004, 05:13 AM
kode_monkey kode_monkey is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 367 kode_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 21 sec
Reputation Power: 6
When you say you need assistance, what is it you want help with? No one on these forums is going to do a school assignment from you just because you post it here but if you have a go and then ask specific questions we're always happy to help.

-KM-

PS: That said I believe dhouston will do it for you for $150 an hour

Reply With Quote
  #3  
Old June 29th, 2004, 07:38 AM
Sadie Sadie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 Sadie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I need a guideline not a solution.

Reply With Quote
  #4  
Old June 29th, 2004, 08:30 AM
kode_monkey kode_monkey is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 367 kode_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 21 sec
Reputation Power: 6
Ok then -

1) Create your array with enough space to hold all the values.
2) Read in the temperature values (validate the input if you need to)
3) Go through each row and find the highest value
4) Go through each column and find the lowest value
5) Print the results

Hope this helps,

-KM-

Reply With Quote
  #5  
Old June 30th, 2004, 03:05 AM
Sadie Sadie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 Sadie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > Two dimensional array


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT