Android IDE (AIDE) Support Forum

If a is smaller than b then assign a to min

Please help.
I’m absolutely new to programming and i need help with this.

You’re awesome!
Thanks!

// int min if not declared already
min = (a<b)?a:b