Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
divisibility programs
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Linton Gitonga
New Member
Join Date:
Apr 2012
Posts:
3
#1
divisibility programs
Apr 28 '12, 08:33 PM
How to write a program of odd numbers divisible by n
Rabbit
Recognized Expert
MVP
Join Date:
Jan 2007
Posts:
12517
#2
Apr 28 '12, 10:21 PM
Use a loop starting with n and incrementing by n using mod to check if it's odd.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment