Hw to count the square area in c++

hi kirupa,thanks 4 everythng.

now i want asking u,
how to count the square or rectangular area in c++?
for exam:if we enter “5”,its must be display the area otomatically.
just it.

any way thanks kirupa.

indu