Calculates the area of rectangle using single inheritance is used. Test Case 1 Input (stdin) 3 2 Expected Output 6 Test Case 2 Input (stdin) 10 20 Expected Output 200
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
cin >> a;
cin>>b;
c=a*b;
cout<<c;
return 0;
}