Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
347 B
3
Indexable
Never
#include <iostream>
#include "Point.h"
#include "Ellipse.h"
#include "Circle.h"
using namespace std;

int main() {
    Point p = {1, 2};
    cout << "Point: (" << p << ")" << endl;

    Ellipse e = {3, 4, 5, 6};
    cout << "Ellipse: (" << e << ")" << endl;

    Circle c = {7, 8, 9};
    cout << "Circle: (" << c << ")" << endl;


    return 0;
}