give output for following:int N=-35 if (N>0&&N<35) N++;else N--; System. out. println(N) ;
Answers
Answered by
0
Answer:
"--__"
Step-by-step explanation:
i hope it will be able to help you
Answered by
0
Answer:
-36
Step-by-step explanation:
The if condition states that (N >0),
since N = -35, the if condition is not satisfied .
Thus else part will be executed.
N becomes -36 and will be printed.
Similar questions