18 lines
296 B
C
18 lines
296 B
C
|
//
|
||
|
// Created by Marcus Vinícius de Carvalho
|
||
|
//
|
||
|
|
||
|
#ifndef RECTANGLE_H
|
||
|
#define RECTANGLE_H
|
||
|
|
||
|
#include "Polygon.h"
|
||
|
#include <string>
|
||
|
|
||
|
class Rectangle final : public Polygon {
|
||
|
public:
|
||
|
Rectangle(string name, float width, float height);
|
||
|
float calculateArea() override;
|
||
|
};
|
||
|
|
||
|
#endif //RECTANGLE_H
|