help!
what is the program of a simple c++ program of identifying if the number entered is prime or not using while loop.. is it possible to program without using bool??
mrSatellite 0 Newbie Poster
Recommended Answers
Jump to Postwhat is the program of a simple c++ program of identifying if the number entered is prime or not using while loop..
It's a Prime Number Test Program.
is it possible to program without using bool??
yes.
Jump to Postcan anyone show me the code of prime number program using while loop but without using bool..?
Can you use google, or do it yourself?
Jump to Post//enter the given rang from keyboard //u will get prime no from given range //safwan hashmi //email was here //13-11-20103 //prime_rng.cpp ...
Very bad code:
1) terrible formatting - inconsistent
2) using code that at least 15 years old
3) using headers that ate at least 10 …
Jump to PostWell testing for primes can be a very bad job when you deal with a mathematical problem involving very big numbers.The test for prime for a number x should be carried up to less than equal to sqrt(x). //I came across a program to find the sum of all primes …
All 15 Replies
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
mrSatellite 0 Newbie Poster
pseudorandom21 166 Practically a Posting Shark
mrSatellite 0 Newbie Poster

HASHMI007

HASHMI007
WaltP commented: Do NOT do homework for others. YOU dont get the grade! -4
pseudorandom21 166 Practically a Posting Shark
HASHMI007 commented: wtf +0
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Ketsuekiame commented: Point well made +8
HASHMI007 commented: stupid +0

HASHMI007
creative_m 0 Light Poster
mrSatellite 0 Newbie Poster
pseudorandom21 166 Practically a Posting Shark

HASHMI007
delta_frost 0 Newbie Poster
amaya ali 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.