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

algorithm to display odd numbers from 20 to 1. And further add the odd numbers from 2

P: 1
How will I write an algorithm to display odd numbers from 20 to 1. And further add the odd numbers.
Mar 30 '17 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197
How do you identify an odd number?

Once you identify it, add it to the total.
Mar 30 '17 #2

Post your reply

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