| | |
Need Help with Array's
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
Hello, I have two assignments on arrays that are due an a few days and i am completely lost any help would be appriciated. I am a first year student in programming design and development and i despretly want to understand this. I am flowcharting an array that needs to input rainfall for each month of the year so a SIZE 12. and i am really lost so im going to do the best i can with explaining this so please be patient
I need the program to do the following:
1. Calculate and display the total rainfall for the year.
2. avg the monthly rainfall
3. calculate the highest rainfall
4. calculate the lowest rainfall
Now so far i have declared the constant 12, and declared constant MONTHS. Now the material i do not understand is what the term SET INDEX=1 means? As for the calculations i need to create 4 different functions and return the value into the main program correct? Now does that mean that i need to create a loop in the main program at all or is it all going to be in the function?
As i said i am new to this so please be patient
I need the program to do the following:
1. Calculate and display the total rainfall for the year.
2. avg the monthly rainfall
3. calculate the highest rainfall
4. calculate the lowest rainfall
Now so far i have declared the constant 12, and declared constant MONTHS. Now the material i do not understand is what the term SET INDEX=1 means? As for the calculations i need to create 4 different functions and return the value into the main program correct? Now does that mean that i need to create a loop in the main program at all or is it all going to be in the function?
As i said i am new to this so please be patient
![]() |
Similar Threads
- Can I ghost a RAID array??? (Windows NT / 2000 / XP)
- Creating dynamic array structures (C++)
- Array limit (C)
- struct dynamic 2d array alloc (C)
- string to integer array transformation (C)
- Array (Visual Basic 4 / 5 / 6)
Other Threads in the Computer Science Forum
- Previous Thread: flowchart
- Next Thread: Loop rules - Case
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignmenthelp assignments automata battery bigbrother binary bittorrent bletchleypark bomb business cern codebreaker compiler computer computerscience computertrackingsoftware connect conversion csc dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic ebook employment energy floatingpoint foreclosure foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea internet iphone ipod itcontracts jobs kindle laser laws lsmeans mainframes marketing mobileapplication msaccess nano netbeans networking news os p2p piracy piratebay principles rasterizer research sam-being-cute sas science software spying stephenfry study supercomputer sweden technology textfield turing turingtest two'scompliment uk virus ww2






