Computer Science, asked by addyrocks1094, 1 year ago

#claas Output1
{
static void main()
{
int a=5,b=6,c;
c=a+b%2;
b=a+2*c;
system.out.println(c);
system.out.println(b);
}
}
find the output

Answers

Answered by Anonymous
14
c=5+6%2
=11%2
=1

b=a+2×c
=5+2×1
=10

so the output will be:



1
10

Similar questions