. 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).
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.