int size = 10;
int weight = 25;
if (size = 10)
{ cout << "correct size and weight! n"; } if (weight = 25) {
cout << "correct size and weight! n"; }
Describe how following nested If-statements could be replaced with one if-statement using logical operator (And/Or/Not). Give the C++ code example.