C language is the basis of every programming language. If you are learning the C programming language, then it will be helpful for you. You can create a program in C language to find out the area of the square. As you that the mathematics formula for the area of the square is A=a2.
How to find out the ara of the square-
First of all, create two variables like - float area, float a.
You need to define the value of a .
Multiply the value of the two times.
like -
area=a*a;
Now display the value of the area.
You will get the area of the rectangle.