IDNLearn.com: Your one-stop destination for reliable answers to diverse questions. Discover comprehensive answers to your questions from our community of knowledgeable experts.

write a for loop to populate array userguesses with num guesses integers. read integers using scanf. ex: if num guesses is 3 and user enters 9 5 2, then userguesses is {9, 5, 2}.