Exercise 2: Computing Binomial Expression
In this exercise, you need to compute the binomial expression (a+b)^2.
Problem Statement #
Write code for computing the formula
(a+b)^2
which expands into the following expression:
Get hands-on with 1300+ tech skills courses.