Question 3 0 Points Create a class called furniture that has a string data attribute called color. The attribute default
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 3 0 Points Create a class called furniture that has a string data attribute called color. The attribute default
Question 3 0 Points Create a class called furniture that has a string data attribute called color. The attribute default value is "brown" and acceptable values are "brown", "cherry", "white". Create get and set functions. Create the all default argument constructor. Overload the stream insertion operator (operator<<) to output the details of a furniture object (output must be: furniture: <color>).