We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
first it saves the goal (v), then it reads in n.
Then it is reading in each integer as they come in and checking if it is v, while keeping count of how many it has checked and gotten so far. As soon as there is a match it prints the count so far.
Intro to Tutorial Challenges
You are viewing a single comment's thread. Return to all comments →
first it saves the goal (v), then it reads in n. Then it is reading in each integer as they come in and checking if it is v, while keeping count of how many it has checked and gotten so far. As soon as there is a match it prints the count so far.