Computer Science, asked by mahboobpasha352, 4 months ago

convert the expansion a²+b²+b²=c²
into equivalent c++ expression​

Answers

Answered by Khushipudi
1

Answer:

Explanation:

The formula of (a + b)2 is given below.

(a + b)2 = a2 + b2 + 2ab

Now we will convert this into a valid C expression.

Let x = (a + b)2

     = a2 + b2 + 2ab

     = (a * a) + (b * b) + (2 * a * b)

hope it helps you !!

please make  me in Brainliest .

Similar questions