Hey. First post here, was wondering whether anybody can help me.
I have coded a for loop to ask for a sequence of numbers and enter them in to an array, and then ask what the user would like to do with them: I have managed to get it to calculate the average, but i'm unable to make it find the max number entered. The only way I can think of is by using if commands to check whether each number is greater or equal to the next, but that seems like a lot of coding. Which way would you guys suggest?