how to create a function that will count and display all even numbers . the function will populate 30 integers with random 2-digit number and return count of even numbers ?

Please don't resurrect old posts, use a loop, place a counter and use the modulus operator ^.^

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.