Using Conditional Assignments