Here is what I am trying to do. The quiz I am writing tallies up points in three categories. Based on the user’s answers, they can either be categorized into one of these three categories, or be categorized into one category as a primary and another category as the secondary. The quiz tallies up three category variables and then converts them into a percentage of total at the end.
Here is the logic:
Category 1 >= 75%: Category 1 ending page:
Category 2 >= 75%: Category 2 ending page:
Category 3 >= 75%: Category 3 ending page:
All categories < 75%, Category 1 is largest, and Category 2 > Category 3: Category 1-2 Landing page
All categories < 75%, Category 1 is largest, and Category 3 > Category 2: Category 1-3 Landing page
All categories < 75%, Category 2 is largest, and Category 1 > Category 3: Category 2-1 Landing page
All categories < 75%, Category 2 is largest, and Category 3 > Category 1: Category 2-3 Landing page
All categories < 75%, Category 3 is largest, and Category 2 > Category 1: Category 3-2 Landing page
All categories < 75%, Category 3 is largest, and Category 1 > Category 2: Category 3-1 Landing page
In order to do this, I need to be able to store a result of aa operation on 2 variables into a 3rd.
Does anyone know how to do that?