C++ Program to Find Area of Square

Share on facebook
Share on linkedin
Share on twitter
Share on email
Use "ufd6qb86" For Offers

 

 

             

Result :

Find Area of Square

 

//Program to Find Area of Square


#include<iostream>


using namespace std;


main()

{

  

 int a,square;

 

 cout << "Enter a Number to find Square of it." << endl;

 

 cin >> a;

 

 square = a*a;

 

 cout << "The square of " << a << " is " << square;

 

 return 0;

}
Get 20% Off on Trading Fee Use "LG3RJV7Z"

More To Explore

Use "ufd6qb86" For Offers