//File:	Shape_driver0.cpp
#include <iostream>
#include <string>
#include "Shape0.h"
using namespace std;

int main()
{
	Shape sh;
	Circle c(0.0, 0.0, 1.0, "MyCircle");
	Rectangle r(0.0, 1.0, 1.0, 0.0, "MyRectangle");
	
	cout << sh.area() << endl;
	cout << sh.name() << endl;

	cout << c.area() << endl;
	cout << c.name() << endl;

	cout << r.area() << endl;
	cout << r.name() << endl;
	cout << endl;
	
	return 0;
}
