e) int a=20,b=34,c=90;
if(a%100==0)
{if((b/400==0)&&(c%4==0))
System.out.println(++a);
else
System.out.println(b++);}
else
System.out.println(--c);
Answers
Answered by
0
Answer:
The output is --c=89
Explanation:
As the 20%100 is not equal to 0 it is equal to 20
So the compiler ignores the if conditions and move on to the else part
So the out put will be --c(pre decrement) 90 will become 89
HOPE IT HELPS YOU
DO FOLLOW FOR MORE ANSWERS/PROGRAMS
MARK AS BRAINLIEST
Similar questions
Social Sciences,
3 months ago
Hindi,
3 months ago
Math,
3 months ago
Social Sciences,
7 months ago
Computer Science,
7 months ago
Hindi,
1 year ago
English,
1 year ago