thetallweeks
10/28/2013 - 5:04 AM

8-CheckNums.js

function CheckNums(num1,num2) { 

  if(num2 > num1) {
    return true;
  } else if(num1 === num2) {
    return -1;
  } else {
      return false
  }     
}
   
// keep this function call here 
// to see how to enter arguments in JavaScript scroll down
CheckNums(readline());