5) What is the result of the following expression:
i) (a>0 && a<=5) if a=10;
Answers
Answered by
1
Question:-
Write the result of the following expression.
Solution:-
Given condition,
a>0&&a<=5
where,
a=10
a>0 is true but a<=5 is false,
therefore,
a>0&&a<=5 returns false.
Similar questions