#ifndef PROGRESSIVE_H #define PROGRESSIVE_H #include "tax.h" using namespace std; class progressive: public tax { public: progressive(): tax {"progressive"} {} double amount(double x) const override {return x * x;} }; #endif