Math, asked by sinchanadaffodils, 4 months ago

give output for following:int N=-35 if (N>0&&N<35) N++;else N--; System. out. println(N) ;​

Answers

Answered by sethvinita92
0

Answer:

"--__"

Step-by-step explanation:

i hope it will be able to help you

Answered by kuv67371
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