Possible to find MIN of UITextFields with corresponding UILabel as the Result in Obj-c?
I'm wanting to do the following:
12 UITextFields (each will call an int that ranges between whole numbers 2 - 200)
12 UILabels that correspond to each UITextField ("Month 1" Label corresponds/belongs to "Month1" TextField and so on..)
and have the UITextField that contains the lowest number print in a Results UITextField the corresponding Month.
IF there is a tie on only the lowest ranking number of the 12 (i.e. Month 1 & Month 12 both equal 5 and 5 is the lowest number of the 12) the output has to be the Month closest to 1. (in this example it would be "Month 1")
Currently the following is not working (after declaring the ints "a" thru "l"):
min(a,b,c,d,e,f,g,h,i,j,k,l) = min(min(a,b),c), min(min(d,e),f), min(min(g,h),i), min(min(j,k),l);
Where am I going wrong? What am I missing here? Thanks.
Numbers '09-OTHER