I have been given an assignment to construct a program that reads in temperatures every hour for 24 hours, find lowest, highest, and average, then output the temps in a tabulated form.
I'm semi-sure I can manage the computational and display part, but I am at a loss as to how to deal with the array. I don't know if it should be 1d, 2d, or should I use two arrays, one for temps and one for the hour feeding them to the functions separately? Suggestions please.
The other thing I'd like to ask is if anyone has a suggestion for reading in the temps. My only thought right now is to prompt the user for the 24 hourly temps, but that seems lengthy and cumbersome.
I know I'm probably making this harder than it really is, but getting started seems to be a recurring problem for me even with developing the pseudocode. If there are any suggestions for that besides the known "practice, practice, practice", let me know...lol
Thanks in advance, I appreciate the advice/constructive criticism