Once the user has answered all of your questions print a summary of the
responses to the output screen using [login to view URL] i.e., list the questions that were asked and the responses that the user made, e.g.,
1.
Do you like running Y/N: Yes was response
.
2.
Do you like Computers Y/N No was the response
Following this calculate and print out the TOTAL NUMBER of Yes and No answers
that the user entered, e.g.:
Thank you, you entered 7 Yes answers and 3 No answers
Then with the above data calculated carry out the following additions to the program.
If the user entered a total of LESS THAN 5 Yes answers present them with
TWO MORE Yes/No questions. Output the following message based on the these two final questions:
-
If BOTH answers are NO output "
You appear to like saying No!
"
-
If ONLY
ONE of the answers was NO output "5050, one yes and one no!
"
-
If BOTH answers are YES output "You have a very agreeable nature!
"
Finally if the
user had entered more than FIVE Yes answers simply state
"Thank you for completing the survey, your data will contribute to our analysis"
Ensure that you test each of the PATHS through your program.
Hello,
I am interested in your project. It must be console user interface? You have all the questions? Please provide me with full information, and I will give you may estimation. Ar a first look, this is my bid and can be done today.
Regards,
Alex