Computer Science, asked by dry2607, 11 months ago

Write a program to calculate (a+b)2.
Hint: (a*a + b*b + 2*a*b) in c#​

Answers

Answered by gokusharma008
6

Answer:

To calculate (a+b)²

we use =a²+2ab+b²

this is the accurate formula

pls mark me as brainlist answer I really needed support

Answered by Romyo
4

Explanation:

10 cls

20 input a,b

30 c=(a+b)2

40 print c

50 end

----This is your answer.

Similar questions