Computer Science, asked by azadkanaujia, 6 months ago

d. State the value of a,b,c (Show the steps):
int a=12, b=13 and c=11
b-=--C+++C+ a++%2+ (b++);
C+=2--+--a +(b++) * (++b)/3;
System.out.println("a="+a);
System.out.println("b="+b);
System.out.println("c+"+c);​

Answers

Answered by Akshayabhuvan
1

Explanation:

given system.out.printin ("a="+a)= a = 12

so 12 + 12 = 24

system.out.printin ("b="+b)= b = 13

so 13 + 13 = 26

system.out.printin ("c="c)= c=11

so 11+ 11 =22

.b=c+c+a+ percentage 2 + (b)

= b = 11 + 11 + 12

= 34 Percentage + 13

= 47 Percentage

therefore the answer is 47 or 47 Percentage.

Hope it would help you

Similar questions