For a class final, I'm trying to develop a survey that returns results based on user answers. The survey is four yes/no questions, and based on how users answer those questions, they receive a result I wrote specifically for that yes/no combination.
Yes, Yes, Yes, Yes - returns result A
Yes, Yes, Yes, No - returns result B
et cetera for every possible combination 1-16
How would I go about building something like this? It would be great if the script also displayed the survey results on the result page, but I could use HTML to do that.