This code shows the very basics of how variables work. Each button asks a question. The user answers, and that is stored in the "answer" variable. Then, the variable (either name or grade) is set to equal the answer.