10 pts
Create a function that takes 2 integers (num1) and (num2) and returns true if (num2) is greater than (num1), return false if (num2) is less than (num1), otherwise return the string "equal".
function checkNums(num1, num2){
//Enter Your Code Here
}
function checkNums(num1, num2){
//Enter Your Code Here
}
Test Cases:
-
checkNums(5, 8) to return true
-
checkNums(3, 3) to return equal
-
checkNums(100, -100) to return false