123456789101112131415161718192021222324252627282930313233343536 |
-
- #pragma once
- #include <iostream>/*
- #include "Triangle.h"*/
- #include "Rectangle.h"
- using namespace std;
- int main()
- {
-
-
-
-
-
-
- Rectangle R;
- R = Rectangle(0, 0, 0, 5, 5, 5, 5, 0);
- R.name();
- cout << R.calc_perimeter() << '\t' << R.calc_area() << endl;
- }
|