Computer Science, asked by TadibAhmed, 10 months ago

public class Output
{
static void main()
int a=5,b=6,c=3;
C+=a/2+b%8+c;
C-=a-b*2+c*3;
System.out.println();​

Answers

Answered by AnaghSaraf
4

Answer for C+ is 8

C- is 2

Explanation:

For C+

=3+(5/2+6%8+3)

=3+(2+0+3)

=8

For C-

=3-(5-6×2+3×3)

=3-(5-12+8)

=3-5+12-8

=2

Answered by utsavshukla2021
0

Explanation:

public class Result

{

static void main()

{

int a = 5, b = 6, c = 3;

c += a / 2 + b % 8 + c;

c -= a - b * 2 + c * 3;

System.out.println(c);

}

}

Similar questions