From 9d53d8857eaa1c9405894a88ca75bc4657e42f35 Mon Sep 17 00:00:00 2001 From: msglm Date: Sat, 14 Jan 2023 05:31:48 -0600 Subject: Inital Commit --- C++/Rectangle/Rectangle.cpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 C++/Rectangle/Rectangle.cpp (limited to 'C++/Rectangle') diff --git a/C++/Rectangle/Rectangle.cpp b/C++/Rectangle/Rectangle.cpp new file mode 100644 index 0000000..537d44b --- /dev/null +++ b/C++/Rectangle/Rectangle.cpp @@ -0,0 +1,33 @@ +// Name: msglm +// Introduction: Rectangle Program +// Description: Program to compute and output the perimeter and area of a rectangle. + + +#include +using namespace std; +int main() { + double length; + double width; + double area; + double perimeter; + cout << "Program to compute and output the perimeter and " + << "area of a rectangle." <