Do in C Program There's this Dog game I played where a group of Dogs gather together and complete missions. One of them though is an impostor because it is not a real dog; its breed is not a dog breed. Your task is to find that impostor. To do this, you need to check Instructions: In the code editor, you are provided with the enum, DogBreed. Furthermore, an initial main() code is provided for you where the user is asked for what the breed of the Dog. Then, in lines 18 - 22, a partial code to check if the breed is valid or not is given. Your task is to fill in the correct condition. Make sure to use the values of the enum, DogBreed in checking. Input 1. Dog Breed Output Input the breed of the dog: 2 Yup, the breed is valid
Do in C Program
There's this Dog game I played where a group of Dogs gather together and complete missions. One of them though is an impostor because it is not a real dog; its breed is not a dog breed.
Your task is to find that impostor. To do this, you need to check
Instructions:
In the code editor, you are provided with the enum, DogBreed. Furthermore, an initial main() code is provided for you where the user is asked for what the breed of the Dog. Then, in lines 18 - 22, a partial code to check if the breed is valid or not is given. Your task is to fill in the correct condition. Make sure to use the values of the enum, DogBreed in checking.
Input
1. Dog Breed
Output
Input the breed of the dog: 2 Yup, the breed is valid
Step by step
Solved in 2 steps