if-else exercises