I have a question about my logic in trying to code something. Let's say I have an array of 50 values. Now I want to find the values that are over (lets say 100). And I want to print "There are 11 values over 100" Now, my question is, I am using a for loop with an if (num>100), then my thoughts are I need to get the number of values that are greater than 100. However, this is the part I am stuck on. I am not really sure how to do this.
Or am I approaching this all wrong and there is a different way to think about this?
You don't need to respond with the code. I am just looking for help with my thinking on how to get this data out of this array. I was searching through posts and either I am using the wrong search words, or I am just not finding what it is I am looking for.
Sorry to you all of you that are experts and this may seem like a dumb question :-(