Answers for "find smallest of 3 numbers"

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 of 3 numbers"

Browse Popular Code Answers by Language