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
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
Function that takes int argument and return 0 if the given number is prime else retur
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
Mansi01
New Member
Join Date:
Mar 2017
Posts:
1
#1
Function that takes int argument and return 0 if the given number is prime else retur
Mar 22 '17, 05:48 AM
I need to know the conditions to write a
if-else statement for a prime number
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#2
Mar 22 '17, 03:56 PM
Where are you stuck? The how-to-code or what s a prime number?
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment