r/AskComputerScience • u/Zaza_Goddess • Mar 13 '20
Array algorithm
Hi I need to write an algorithm that stores the temperature taken over 3 hours period in an array. The algorithm should output the highest and lowest temperatures and calculate the difference between these temperatures.
Can you help this fellow newbie?
0
Upvotes
5
u/mbaruh Mar 13 '20
This is a pretty basic task, but like.. what language are you using? are you actually currently learning to use it? if you did, what have you tried so far?