0
/ 10
Code along with Jessica's example and implement the algorithm that does the following:
- Prompts the user for
"\nwhat is the name of the...
Code along with Jessica's example and implement the algorithm that does the following:
"\nwhat is the name of the property\n"
and gathers the user's response"\nwhat is the value of the property\n"
and gathers the user's response"\nhow many rooms does the property have\n"
and gathers the user's response"\nis it available 1=true, 0=false\n"
and gathers the user's response"\ndo you want to enter another property y/n\n"
and gathers the user's responseTo help with this task, you can assume the following struct as already been defined:
struct property{
string name;
double value;
int rooms;
bool availability;
};
Complete only the code within main's brackets { }
Your feedback will appear here when you check your answer.