Computer Science, asked by shivangshrivastava, 5 months ago

What will be the value of 'x' after execution of
following statements:
(i) x = ('B' + 10 ) * 3;
(ii) X = ('A' + 'c') + 5;​

Answers

Answered by Hard10
1

Answer:

X=4A+4C-3B/5

Explanation:

According to both equations:

  • (B+10)×3=(A+C)+5
  • 3B+30=A+C+5
  • 25=A+C-3B
  • 5=(A-C-3B)/5.................... EQUATION@1

PUTTING THE EQUATION@1 IN GIVEN EQUATION(ii)

  • X=A+C+A/5-C/5-3B/5
  • X=4A/5+4C/5-3B/5
  • X=4A+4C-3B/5
Similar questions