Hi there,
I was wondering if anyone could give an example of how you can program an app to identify the largest value from a group of integers (int).
At the moment I am having to write things like:
This process would be fine for a couple of numbers but I have many integers and I think I'll be writing forever if I have to do this for every option.
If anyone knows a way to write 'less than or equal to' or 'more than or equal to' out of a group of int's that would also be greatly appreciated
Cheers,
Neil
I was wondering if anyone could give an example of how you can program an app to identify the largest value from a group of integers (int).
At the moment I am having to write things like:
B4X:
If (a < b) AND (a < c) Then
This process would be fine for a couple of numbers but I have many integers and I think I'll be writing forever if I have to do this for every option.
If anyone knows a way to write 'less than or equal to' or 'more than or equal to' out of a group of int's that would also be greatly appreciated
Cheers,
Neil