Area

Description:

Vasu has a home and like to find the area of the same (Hint: Class C1 gets length and breadth as input which is used by class C2 derived from C1. C2 displays the area of the same) Test Case 1 Input (stdin) 20 30 Expected Output 600 Test Case 2 Input (stdin) 10 20 Expected Output 200

Program :

#include <iostream>

using namespace std;

int main()

{

int a,b;

  cin>>a>>b;

  cout<<a*b;

return 0;

}