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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 5161570
    New Member
    • Mar 2017
    • 1

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

    How will I write an algorithm to display odd numbers from 20 to 1. And further add the odd numbers.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    How do you identify an odd number?

    Once you identify it, add it to the total.

    Comment

    Working...