this is a valid argument, affirming the antecedent, or a modus
ponens. The structure is: If a person knows the material for the
test, he/whe will get an A. (If P, then Q.) Madeline knew the
material for the test, therefore she got an A. (P, therefore
Q.)