Driver code
int main ( ) { double a = 1.0 , b = 2.0 , c = 3.0 ; if ( isValidNesbitt ( a , b , c ) ) cout << " Nesbitt ' s ▁ inequality ▁ satisfied . " << " for ▁ real ▁ numbers ▁ " << a << " , ▁ " << b << " , ▁ " << c << " STRNEWLINE " ; else cout << " Not ▁ satisfied " ; return 0 ; }