Answers for "find smallest number among three in array kotlin"

1

find min of 3 nos

if (a <= b && a <= c) 
        cout << a << " is the smallest"; 
  
    else if (b <= a && b <= c) 
        cout << b << " is the smallest"; 
  
    else
        cout << c << " is the smallest";
Posted by: Guest on June-08-2020

Code answers related to "find smallest number among three in array kotlin"

Browse Popular Code Answers by Language