77.1k views
3 votes
Write algorithm to find (a+b)^2=(a+b)*(a+b)​

1 Answer

2 votes

Answer:

Basically

(a+b)^2 = a^2 + b^2 + 2ab

Step-by-step explanation:

steps

1: start

2: read a value

3: read b value

4: c=(a+b)*(a+b);

5: print c value

6:end

User Kalanamith
by
5.4k points