. Write a program that simulates a questionnaire to find a roommate. You will ask the user various questions that might determine a suitable match, such as their age, gender, smoking preference, sleeping habits, pets, etc. Use an overloaded function, called match, to determine if their preferences match your own. The match functions will take a string, Boolean, floating-point, or integer parameter depending on the question and return a Boolean value. The questions themselves will be contained in a function which returns a Boolean value indication whether the roommate is a match (depending on an acceptable number of matches on the questionnaire).
1
Expert's answer
2012-10-25T12:01:01-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment