so i got the avg program to work but now have a hard time finding the max and min of values that i enter. i am trying to write this program for data mangement so this would be a nice feature.
my for loop pretty much asks for how many numbers then it calculates the avg at this point. any idea about how to determine the max and min value
say i entered 6,3,10
how do i get it to print out the low is 3 and high is 10?
thanks
oh yea this is in c
my for loop pretty much asks for how many numbers then it calculates the avg at this point. any idea about how to determine the max and min value
say i entered 6,3,10
how do i get it to print out the low is 3 and high is 10?
thanks
oh yea this is in c