Posts

  Given the length of the side of a square, calculate and print the area of the square. Sample: length: 5 Area: 25 Code: #include <iostream> using namespace std; int main() {     int l,a;     cout << " Enter Length : ";     cin >> l;     a = l * l;     cout << " Area : " << a;          return 0; }