write an algorithm of find area of square
Answers
Answered by
1
here's a function definition to do the above given task.
void square(float x)
{
float area= x*x;
cout<<"Area of the square with sides of length "<< x<<" is " << area;
return 0;
}
Similar questions