By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 811 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.


P: 1
I just want to ask help if how you will create a program in these output:

Enter 10 numbers:
9,7,5,24,56,7,3,23,45,1,2 -input by the users
You hve entered 3 even numbers.
you have enterd 7 odd numbers.
Mar 13 '07 #1
Share this Question
Share on Google+
1 Reply

Expert 2.5K+
P: 3,652
You will have to read the numbers into an array, then find out how many and which numbers are even by looping through the array and testing them.
Mar 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.