I have to do a code in De Morgans law show that 2 expressions are equivalent. I not even sure if I am going in the right direction. Can somebody steer me right
original expression - ! ( x < 5 ) && ( y >= 7 )
De morgans law expressin - ( x > = 5 || ( y < 7 )
#include <iostream>
using std::cout;
using std::endl;
int main()
{
int x = 4;
int y = 8;
if ( ! ( x < 5 ) && ( y >= 7 )
cout << "The expression is False." <<endl;
else ( x > = 5 || ( y < 7 )
cout << "The expressions are equivalent." <<endl;
}