Skip to content
Snippets Groups Projects
Commit 4d51208a authored by COLLEDANI FIONA's avatar COLLEDANI FIONA
Browse files

Update main.cpp

parent fd30fd33
No related merge requests found
......@@ -9,4 +9,10 @@ int main() {
std::cout << "Area: " << rect.calculateArea() << std::endl;
std::cout << "Perimeter: " << rect.calculatePerimeter() << std::endl;
rect.setLength(6.0);
rect.setWidth(4.0);
std::cout << "Length: " << rect.getLength() << std::endl;
std::cout << "Width: " << rect.getWidth() << std::endl;
##TODO
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment