C Programming Practice 3 on Logical Operator