help po sa assign ko sa C++ Programming...ito po ung problems...

#1 Input: 10 numbers
a.) total of all even numbers.
b.) average of all numbers divisible by 6 and 2.

#2 A program that displays all prime numbers less than 100.
Yes, that looks like homework alright. Did you have a question???...
For #2 lookup the Sieve of Eratosthenes. Its a simple algorithm that finds prime numbers.
Topic archived. No new replies allowed.