Solutions/ranran2121_solutions.js
//Write a binary function minb that takes two numbers and returns the smaller one
Write a binary function minb that takes two numbers and returns the smaller one
Write a binary function minb that takes two numbers and returns the smaller one
function minb(a, b) {
  if (a < b) {
    return a;
  } else {
    return b;
  }
}
function minb ( a , b ) { if ( a < b ) { return a ; } else { return b ; } }
Write a binary function minb that takes two numbers and returns the smaller one
Write a binary function minb that takes two numbers and returns the smaller one