Defining if statements for var maritalStatus

I am defining conditions for the variable maritalStatus