From e690649ffba25e99c8626c5c07425ed3405ff645 Mon Sep 17 00:00:00 2001 From: Saksham Garg Date: Mon, 14 Dec 2020 17:18:18 +0530 Subject: [PATCH] Create rectangleArea-HR.cpp --- rectangleArea-HR.cpp | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 rectangleArea-HR.cpp diff --git a/rectangleArea-HR.cpp b/rectangleArea-HR.cpp new file mode 100644 index 0000000..68cc1dd --- /dev/null +++ b/rectangleArea-HR.cpp @@ -0,0 +1,49 @@ +#include + +using namespace std; + +class Rectangle { + protected : + int width; + int height; + public : + void display(){ + cout<>width>>height; + } + void display(){ + cout<