Practice ยท 1 of 1
Rectangle Member Function
Given the Rectangle struct below, implement the member function scaled(factor) returning a NEW Rectangle scaled on both sides (original untouched).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Struct Practice: Models That Read Like the Domain