I wanted to know how to write if statements to see if one or another check box is checked or not.
I have two check boxes. I wanted it to check to see if checkbox 1 is c
I simplification for Science_Fiction's answer I think is to use the exclusive or function so you can just have:
if(checkbox1.checked ^ checkbox2.checked) { //do stuff }
That is assuming you want to do the same thing for both situations.