We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- Inheritance
- Rectangle Area
- Discussions
Rectangle Area
Rectangle Area
Sort by
recency
|
191 Discussions
|
Please Login in order to post a comment
include
include
include
include
include
using namespace std;
class Rectangle{ protected: int width; int height; public: void display(){ cout<
class RectangleArea : public Rectangle{ public: void read_input(){ cin>>width; cin>>height; } void display(){ cout<
};
int main() {
}
class Rectangle{
};
class RectangleArea : public Rectangle{
};