checkForPremiseSatisfaction method
Check if first number is greater than second
Implementation
bool checkForPremiseSatisfaction(double first, double second) {
bool premiseVal = false;
if (first.isNaN || second.isNaN) {
return false;
} else {
premiseVal = first > second;
}
return premiseVal;
}