Program for conjunction, extraction, condition, and dual conditions - C language