Assume that x is already defined as being of type int Write
Assume that x is already defined as being of type int . Write a single expression that will add 1 to x and return true if the result is greater than 15 (x changes).
Solution
Answer: Single expression is as follows
if( x + 1 > 15){ //when x +1 is greater than 15 then this condition will return true.
return true;
}
