Computer Science I (CS 170)
Dr. William J. Joel, WS 110, 7-9353
Project No. 3 (7 points)

Problem: To create a program that will ask a series of five Yes/No questions and then display the users responses.
Task:
  • Review using the If statement.
  • Design a question class (cYesNo).
    • Include member variables for question (char string) and response (char).
    • Include member functions for asking and retrieving the question; and for retrieving the final response.
    • The question is set as an argument for the class' constructor.
  • Note: Only a 'Y entry will signify a 'Yes' response. All other entries will signify a 'No'.
  • Create a program using this class to demonstrate it's implementation, by asking five questions, and then displaying the questions and user responses..
  • Submit your assignment according to Project Submission Guidelines.
Notes:
  • What you do for one question, you do for all. That means, you'll need a separate cYesNo object for each question.
  • Remember! Be sure you've completed this project as described above. If you wish to do more, you will neither receive extra points if you succeed, nor lose points if you you are unsuccessful, but you will receive feedback when the project is graded.