Help with C++ assignment?

Discussion in 'Programming/Scripts' started by queen, Mar 14, 2009.

  1. queen

    queen New Member

    Okay, so I am not expecting a whole source code (although I'd like that) but I know no one would just plainly give it out so what I am asking is to at least try guiding me on this like an algorithm or something (steps, highlights, slight explanation, anything) ... coz I am unsure on how to do it(more like even start it) . Here is the question.

    Write a program that simulates a questionnair to find a roommate. You will ask the user various questions that might determine a suitable match, such as their age, gender, smoking prefernce, sleeping habits, pets, etc. Use an overoloaded 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) :(:(:(
  2. id10t

    id10t Member

    Took me about 30 seconds to come up with how to solve the problem.

    What part is stopping you? I will help you understand what you need to, but I don't do homework for you... (I teach a Linux class, so I see lots of this kind of stuff).

Share This Page