Esato

Forum > General discussions > Non mobile discussion > c+ programming

Author c+ programming
trini
Model not set
Joined: Feb 19, 2008
Posts: 0
PM
Posted: 2008-02-19 16:21
Reply with quoteEdit/Delete This PostPrint this post
how do i display all prime integers between 1 and 25000 stating if the integer is abundant of deficient, and display all abundant integers that are divisible by 7 and 5 at the same time by a range of 1 to 10000.
Nipsen
P1
Joined: Jul 31, 2007
Posts: > 500
From: Noway
PM, WWW
Posted: 2008-02-19 16:26
Reply with quoteEdit/Delete This PostPrint this post
You just take one thing at a time.

And then you give up, install java, make an abstract class for the variations - and produce the product through a set of simple functions through syntax it's possible to understand, with consistent results regardless of size, earth- rotation and the computer's mood. Ehm. Nevermind..
himlims_nl
T65 blue
Joined: Apr 06, 2004
Posts: > 500
PM
Posted: 2008-02-19 17:52
Reply with quoteEdit/Delete This PostPrint this post
welke at esato
no offence; but you just might try the wrong forum.
try sysmbian developers, for integers etc. are MANY MANY MANY MANY MANY tutorials on the web.
code.google.com might be a good place to start
[T65/T68/T610/T630/W810/K610/K700/K750/P800/P910/P990/K850] - [ Esato Knowledge database ]
how can i be at your service?
tesssst
P1
Joined: Oct 26, 2007
Posts: 98
PM
Posted: 2008-02-19 22:06
Reply with quoteEdit/Delete This PostPrint this post
hah that guy was funny

You do know though that a prime number could be divided by itself and 1 only?

just a thought...

P.s.On slightly other note would a Ries algorithm do? - lol

[ This Message was edited by: tesssst on 2008-02-19 21:07 ]
Krubach
T39 black
Joined: Dec 05, 2002
Posts: > 500
From: Sunny Portugal! :)
PM
Posted: 2008-02-20 13:50
Reply with quoteEdit/Delete This PostPrint this post
Well, i don't know much about C+.
If it was C or C++ I would gladly help you.

If you want all prime number between 1 and 25000 that are divisible by 5 and 7, the result is:
.
.
.
.
.
.
5 and 7
Access the forum with a mobile phone via esato.mobi