divisibility programs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Linton Gitonga
    New Member
    • Apr 2012
    • 3

    divisibility programs

    How to write a program of odd numbers divisible by n
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Use a loop starting with n and incrementing by n using mod to check if it's odd.

    Comment

    Working...