Question #44645

Write the equivalent C++ expressions for the following Algebraic expressions:
(i) x(A B)
C
AB BC
(ii) a3 b3 3ab(a b)
(iii) 3 2
4 4
xy k xy

Expert's answer

`(i)`**((**A ***** B **+** B ***** C**)** **/** C**)** ***** **(**A **+** B**)**

(ii)a***** a ***** a **+** b ***** b ***** b **+** 3 ***** a ***** b ***** **(**a **+** b**)**

(iii) **(**3 ***** x ***** y**)** **/** 4 **+** k **/** 4 **-** x ***** y ***** y

## Comments

## Leave a comment