Answer:
( (num < 10) || (num = 10) )
Explanation:
Here we have the condition as num <= 10 which means the condition gets satisfied till less than 10 i.e., (9) and condition also gets satisfied when the num is equal to 10 .
We can get same result using ( (num < 10) || (num = 10) ) because in OR when either of the input is true the output is true .