| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 ![]() |
|
#3
|
|||
|
|||
|
I need a guideline not a solution.
|
|
#4
|
|||
|
|||
|
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- |
|
#5
|
|||
|
|||
|
Thanks
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Two dimensional array |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|